# #1f7d2b color: Pharmaceutical Green

#1f7d2b is rgb(31, 125, 43) in RGB and oklch(51.821% 0.14634 144.887) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f7d2b |
| RGB | rgb(31, 125, 43) |
| HSL | hsl(127.66, 60.26%, 30.59%) |
| HSB / HSV | hsv(127.66 75.2% 49.02%) |
| HWB | hwb(127.66 12.16% 50.98%) |
| CMYK | cmyk(75% 0% 66% 51%) |
| Lab | lab(45.84 -41.1 35.35) |
| LCH | lch(45.84 54.21 139.3) |
| OKLab | oklab(51.821% -0.11971 0.08417) |
| OKLCH | oklch(51.821% 0.14634 144.887) |
| Display P3 | color(display-p3 0.24186 0.48309 0.21233) |
| Rec. 2020 | color(rec2020 0.24782 0.42112 0.15869) |
| Adobe RGB | color(a98-rgb 0.29497 0.48655 0.20789) |
| ProPhoto RGB | color(prophoto-rgb 0.24299 0.38709 0.17915) |
| Linear sRGB | color(srgb-linear 0.0137 0.20508 0.02416) |
| XYZ D65 | color(xyz-d65 0.08334 0.15132 0.04767) |
| XYZ D50 | color(xyz-d50 0.08842 0.15153 0.03735) |
| SwiftUI | Color(red: 0.122, green: 0.49, blue: 0.169) |
| UIKit | UIColor(red: 0.122, green: 0.49, blue: 0.169, alpha: 1) |
| Flutter / Compose | Color(0xFF1F7D2B) |
| Android XML | #1F7D2B |

## 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.22:1
- Contrast with black: 4.03:1

## Tints

#1f7d2b, #3c8a42, #549757, #6aa46b, #7fb180, #94be94, #a9cba9, #bfd8be, #d4e5d4, #e9f2e9

## Shades

#1f7d2b, #196c24, #145b1d, #0f4b16, #0a3b10, #062c0a, #031e05, #011102, #000501, #000100

## Tones

#1f7d2b, #2c7b33, #36793b, #3f7842, #467648, #4d744e, #537254, #596f59, #5e6d5e, #636b63

## Harmonies

- Complementary: #1f7d2b, #914596
- Split: #1f7d2b, #7053b2, #a53d6d
- Analogous: #1f7d2b, #677000, #007e64
- Triadic: #1f7d2b, #3e63bc, #ad3d3b
- Tetradic: #1f7d2b, #007986, #914596, #ad3d3b
- Square: #1f7d2b, #0072aa, #914596, #a54b00
- Monochromatic: #1f7d2b, #003500, #005900, #49a24f, #70c974

## Questions about #1f7d2b

### What color is #1f7d2b?

#1f7d2b is bright green. The closest named color is Pharmaceutical Green. In RGB it is rgb(31, 125, 43), in HSL hsl(127.66, 60.26%, 30.59%) and in OKLCH oklch(51.821% 0.14634 144.887).

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

The complementary color of #1f7d2b is #914596. For a calmer combination use the analogous colors #677000 and #007e64. The triadic partners are #3e63bc and #ad3d3b.

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

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

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

#1f7d2b is a neutral color. In OKLCH its hue is 145 degrees, its lightness 51.8% and its chroma 0.146.
