# #1f7b28 color: Pharmaceutical Green

#1f7b28 is rgb(31, 123, 40) in RGB and oklch(51.215% 0.14617 144.39) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f7b28 |
| RGB | rgb(31, 123, 40) |
| HSL | hsl(125.87, 59.74%, 30.2%) |
| HSB / HSV | hsv(125.87 74.8% 48.24%) |
| HWB | hwb(125.87 12.16% 51.76%) |
| CMYK | cmyk(75% 0% 67% 52%) |
| Lab | lab(45.13 -40.7 35.93) |
| LCH | lch(45.13 54.29 138.56) |
| OKLab | oklab(51.215% -0.11883 0.08511) |
| OKLCH | oklch(51.215% 0.14617 144.39) |
| Display P3 | color(display-p3 0.23861 0.47537 0.20252) |
| Rec. 2020 | color(rec2020 0.24284 0.41305 0.14902) |
| Adobe RGB | color(a98-rgb 0.29101 0.47891 0.19833) |
| ProPhoto RGB | color(prophoto-rgb 0.23826 0.37967 0.17162) |
| Linear sRGB | color(srgb-linear 0.0137 0.19807 0.02122) |
| XYZ D65 | color(xyz-d65 0.08031 0.1461 0.04404) |
| XYZ D50 | color(xyz-d50 0.0853 0.14633 0.03457) |
| SwiftUI | Color(red: 0.122, green: 0.482, blue: 0.157) |
| UIKit | UIColor(red: 0.122, green: 0.482, blue: 0.157, alpha: 1) |
| Flutter / Compose | Color(0xFF1F7B28) |
| Android XML | #1F7B28 |

## 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.35:1
- Contrast with black: 3.92:1

## Tints

#1f7b28, #3c883f, #539555, #69a269, #7faf7e, #94bd93, #a9caa8, #bed7bd, #d4e4d3, #e9f2e9

## Shades

#1f7b28, #196a21, #145a1b, #0f4a15, #0a3a0f, #062c09, #031e04, #011002, #000501, #000100

## Tones

#1f7b28, #2c7931, #367838, #3e763f, #457446, #4c724c, #527052, #586e57, #5d6b5c, #626962

## Harmonies

- Complementary: #1f7b28, #8e4495
- Split: #1f7b28, #6e51b1, #a33b6c
- Analogous: #1f7b28, #666e00, #007c62
- Triadic: #1f7b28, #3b61b9, #ab3c3a
- Tetradic: #1f7b28, #007783, #8e4495, #ab3c3a
- Square: #1f7b28, #0070a6, #8e4495, #a34900
- Monochromatic: #1f7b28, #003300, #005800, #49a04d, #6fc671

## Questions about #1f7b28

### What color is #1f7b28?

#1f7b28 is bright green. The closest named color is Pharmaceutical Green. In RGB it is rgb(31, 123, 40), in HSL hsl(125.87, 59.74%, 30.2%) and in OKLCH oklch(51.215% 0.14617 144.39).

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

The complementary color of #1f7b28 is #8e4495. For a calmer combination use the analogous colors #666e00 and #007c62. The triadic partners are #3b61b9 and #ab3c3a.

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

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

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

#1f7b28 is a neutral color. In OKLCH its hue is 144 degrees, its lightness 51.2% and its chroma 0.146.
