#1F9A40#1F9A40
#1F9A40 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.2% C 0.165 H 147.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1F9A40 |
|---|---|
| RGB | rgb(31, 154, 64) |
| HSL | hsl(136, 66%, 36%) |
| HSV | hsv(136, 80%, 60%) |
| CMYK | cmyk(79.9%, 0%, 58.4%, 39.6%) |
| CIE-LAB | lab(55.86, -51.82, 37.58) |
| CIE-LCH | lch(55.86, 64.01, 144.05°) |
| OKLab | oklab(60.22% -0.1393 0.0893) |
| OKLCH | oklch(60.22% 0.165 147.3) |
| XYZ | xyz(13.0451, 23.7711, 8.7503) |
| Luminance | 0.2377 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald (survey)
#01A049
ΔE00 2.31
Kelley Green
#009337
ΔE00 2.67
Irish Green
#019529
ΔE00 3.24
Emerald Green
#028F1E
ΔE00 5.22
Mid Green
#50A747
ΔE00 5.88
True Green
#089404
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F9A40 #9A1F79
analogous
#3C9A1F #1F9A40 #1F9A7E
triadic
#1F9A40 #401F9A #9A401F
tetradic
#1F9A40 #1F3C9A #9A1F79 #9A7E1F
square
#1F9A40 #1F3C9A #9A1F79 #9A7E1F
split-complementary
#1F9A40 #7E1F9A #9A1F3C
monochromatic
#0A3416 #15672B #1F9A40 #29CD55 #56DD7A
Accessibility & contrast
On white
3.65
#1F9A40 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#1F9A40 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F9A40
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F9A40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F9A40 | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8C37
Deuteranopia (green-blind)
#8E8247
Tritanopia (blue-blind)
#009786
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #1f9a40; /* rgb */ color: rgb(31, 154, 64); /* oklch */ color: oklch(60.2% 0.165 147.3);
Tailwind
colors: {
custom: {
50: '#71b977',
500: '#1f9a40',
950: '#000000',
},
}SCSS
$custom: #1f9a40; $custom-light: #71b977; $custom-dark: #000000;
JSON
{
"hex": "#1f9a40",
"rgb": {
"r": 31,
"g": 154,
"b": 64
},
"hsl": {
"h": 136.098,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.60224,
"c": 0.16548,
"h": 147.3
},
"luminance": 0.23773
}Semantic roles & 50–950 ramp
primary
#1F9A40
secondary
#C154A4
accent
#3EBCE9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091209
muted
#7B817B