#1F971E#1F971E
#1F971E is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.1% C 0.185 H 142.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1F971E |
|---|---|
| RGB | rgb(31, 151, 30) |
| HSL | hsl(120, 67%, 35%) |
| HSV | hsv(120, 80%, 59%) |
| CMYK | cmyk(79.5%, 0%, 80.1%, 40.8%) |
| CIE-LAB | lab(54.57, -54.30, 50.30) |
| CIE-LCH | lch(54.57, 74.01, 137.19°) |
| OKLab | oklab(59.06% -0.1474 0.1123) |
| OKLCH | oklch(59.06% 0.185 142.7) |
| XYZ | xyz(11.8653, 22.5168, 4.9489) |
| Luminance | 0.2252 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 1.83
Irish Green
#019529
ΔE00 2.08
Emerald Green
#028F1E
ΔE00 3.12
Grass Green
#3F9B0B
ΔE00 3.67
Kelley Green
#009337
ΔE00 4.20
Grassy Green
#419C03
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F971E #961E97
analogous
#5B971E #1F971E #1E9759
triadic
#1F971E #1E1F97 #971E1F
tetradic
#1F971E #1E5B97 #961E97 #97591E
square
#1F971E #1E5B97 #961E97 #97591E
split-complementary
#1F971E #591E97 #971E5B
monochromatic
#0A310A #156414 #1F971E #29CA28 #54DD53
Accessibility & contrast
On white
3.82
#1F971E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#1F971E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F971E
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F971E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F971E | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #1f971e; /* rgb */ color: rgb(31, 151, 30); /* oklch */ color: oklch(59.1% 0.185 142.7);
Tailwind
colors: {
custom: {
50: '#72b764',
500: '#1f971e',
950: '#000000',
},
}SCSS
$custom: #1f971e; $custom-light: #72b764; $custom-dark: #000000;
JSON
{
"hex": "#1f971e",
"rgb": {
"r": 31,
"g": 151,
"b": 30
},
"hsl": {
"h": 119.504,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.59064,
"c": 0.18532,
"h": 142.7
},
"luminance": 0.22518
}Semantic roles & 50–950 ramp
primary
#1F971E
secondary
#BF51C0
accent
#3EEAE8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A