# #1f7f31 color: Pharmaceutical Green

#1f7f31 is rgb(31, 127, 49) in RGB and oklch(52.465% 0.14392 146.044) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/1f7f31

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f7f31 |
| RGB | rgb(31, 127, 49) |
| HSL | hsl(131.25, 60.76%, 30.98%) |
| HSB / HSV | hsv(131.25 75.59% 49.8%) |
| HWB | hwb(131.25 12.16% 50.2%) |
| CMYK | cmyk(76% 0% 61% 50%) |
| Lab | lab(46.59 -41.21 33.36) |
| LCH | lch(46.59 53.02 141.01) |
| OKLab | oklab(52.465% -0.11937 0.08039) |
| OKLCH | oklch(52.465% 0.14392 146.044) |
| Display P3 | color(display-p3 0.24513 0.49082 0.23091) |
| Rec. 2020 | color(rec2020 0.25311 0.42924 0.17682) |
| Adobe RGB | color(a98-rgb 0.29894 0.49419 0.22656) |
| ProPhoto RGB | color(prophoto-rgb 0.2486 0.39466 0.19305) |
| Linear sRGB | color(srgb-linear 0.0137 0.21223 0.03071) |
| XYZ D65 | color(xyz-d65 0.08708 0.15691 0.05476) |
| XYZ D50 | color(xyz-d50 0.09211 0.15706 0.04273) |
| SwiftUI | Color(red: 0.122, green: 0.498, blue: 0.192) |
| UIKit | UIColor(red: 0.122, green: 0.498, blue: 0.192, alpha: 1) |
| Flutter / Compose | Color(0xFF1F7F31) |
| Android XML | #1F7F31 |

## Facts

- Closest name: Pharmaceutical Green
- Hue family: Green, bright green
- Closest Tailwind class: green-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 5.07:1
- Contrast with black: 4.14:1

## Tints

#1f7f31, #3c8c46, #54985b, #6aa56f, #80b283, #95bf97, #aacbab, #bfd8c0, #d4e5d5, #e9f2ea

## Shades

#1f7f31, #196e29, #145d22, #0f4c1a, #0a3c13, #062d0c, #031f06, #011103, #000601, #000100

## Tones

#1f7f31, #2d7d38, #377b3f, #407a46, #48784b, #4e7651, #557356, #5b715b, #606f60, #656d65

## Harmonies

- Complementary: #1f7f31, #934896
- Split: #1f7f31, #7355b3, #a73f6d
- Analogous: #1f7f31, #677300, #008068
- Triadic: #1f7f31, #4364bc, #ae413c
- Tetradic: #1f7f31, #007b89, #934896, #ae413c
- Square: #1f7f31, #0073ae, #934896, #a64e00
- Monochromatic: #1f7f31, #003700, #005b07, #4aa455, #71cb79

## Questions about #1f7f31

### What color is #1f7f31?

#1f7f31 is bright green. The closest named color is Pharmaceutical Green. In RGB it is rgb(31, 127, 49), in HSL hsl(131.25, 60.76%, 30.98%) and in OKLCH oklch(52.465% 0.14392 146.044).

### What colors go well with #1f7f31?

The complementary color of #1f7f31 is #934896. For a calmer combination use the analogous colors #677300 and #008068. The triadic partners are #4364bc and #ae413c.

### Is white or black text more readable on #1f7f31?

White text reads better on #1f7f31: white gives a contrast ratio of 5.07:1 and black gives 4.14:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #1f7f31 a warm or cool color?

#1f7f31 is a neutral color. In OKLCH its hue is 146 degrees, its lightness 52.5% and its chroma 0.144.
