#1F9C2B#1F9C2B
#1F9C2B is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.6% C 0.184 H 143.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1F9C2B |
|---|---|
| RGB | rgb(31, 156, 43) |
| HSL | hsl(126, 67%, 37%) |
| HSV | hsv(126, 80%, 61%) |
| CMYK | cmyk(80.1%, 0%, 72.4%, 38.8%) |
| CIE-LAB | lab(56.33, -54.88, 47.41) |
| CIE-LCH | lch(56.33, 72.53, 139.18°) |
| OKLab | oklab(60.55% -0.1484 0.108) |
| OKLCH | oklch(60.55% 0.184 143.9) |
| XYZ | xyz(12.8887, 24.2411, 6.2848) |
| Luminance | 0.2424 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 2.65
True Green
#089404
ΔE00 3.69
Grass Green
#3F9B0B
ΔE00 4.19
Kelley Green
#009337
ΔE00 4.24
Emerald (survey)
#01A049
ΔE00 4.55
Emerald Green
#028F1E
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F9C2B #9C1F90
analogous
#529C1F #1F9C2B #1F9C6A
triadic
#1F9C2B #2B1F9C #9C2B1F
tetradic
#1F9C2B #1F529C #9C1F90 #9C6A1F
square
#1F9C2B #1F529C #9C1F90 #9C6A1F
split-complementary
#1F9C2B #6A1F9C #9C1F52
monochromatic
#0B360F #15691D #1F9C2B #29CF39 #58DE65
Accessibility & contrast
On white
3.59
#1F9C2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#1F9C2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F9C2B
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F9C2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F9C2B | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8D18
Deuteranopia (green-blind)
#928336
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #1f9c2b; /* rgb */ color: rgb(31, 156, 43); /* oklch */ color: oklch(60.6% 0.184 143.9);
Tailwind
colors: {
custom: {
50: '#72ba6b',
500: '#1f9c2b',
950: '#000000',
},
}SCSS
$custom: #1f9c2b; $custom-light: #72ba6b; $custom-dark: #000000;
JSON
{
"hex": "#1f9c2b",
"rgb": {
"r": 31,
"g": 156,
"b": 43
},
"hsl": {
"h": 125.76,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.60552,
"c": 0.18359,
"h": 143.9
},
"luminance": 0.24243
}Semantic roles & 50–950 ramp
primary
#1F9C2B
secondary
#C155B7
accent
#3ED9EA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A