#1F971F#1F971F
#1F971F is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.1% C 0.185 H 142.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1F971F |
|---|---|
| RGB | rgb(31, 151, 31) |
| HSL | hsl(120, 66%, 36%) |
| HSV | hsv(120, 79%, 59%) |
| CMYK | cmyk(79.5%, 0%, 79.5%, 40.8%) |
| CIE-LAB | lab(54.58, -54.23, 49.98) |
| CIE-LCH | lch(54.58, 73.75, 137.33°) |
| OKLab | oklab(59.07% -0.1472 0.1118) |
| OKLCH | oklch(59.07% 0.185 142.8) |
| XYZ | xyz(11.8783, 22.5220, 5.0172) |
| Luminance | 0.2252 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 1.90
Irish Green
#019529
ΔE00 2.00
Emerald Green
#028F1E
ΔE00 3.10
Grass Green
#3F9B0B
ΔE00 3.74
Kelley Green
#009337
ΔE00 4.11
Forestgreen (CSS)
#228B22
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F971F #971F97
analogous
#5B971F #1F971F #1F975B
triadic
#1F971F #1F1F97 #971F1F
tetradic
#1F971F #1F5B97 #971F97 #975B1F
square
#1F971F #1F5B97 #971F97 #975B1F
split-complementary
#1F971F #5B1F97 #971F5B
monochromatic
#0A310A #156415 #1F971F #29CA29 #54DC54
Accessibility & contrast
On white
3.81
#1F971F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#1F971F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F971F
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F971F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F971F | 1.00 | 3.81 | 5.50 | 5.50 |
| #FFFFFF | 3.81 | 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)
#8D7F2D
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #1f971f; /* rgb */ color: rgb(31, 151, 31); /* oklch */ color: oklch(59.1% 0.185 142.8);
Tailwind
colors: {
custom: {
50: '#72b765',
500: '#1f971f',
950: '#000000',
},
}SCSS
$custom: #1f971f; $custom-light: #72b765; $custom-dark: #000000;
JSON
{
"hex": "#1f971f",
"rgb": {
"r": 31,
"g": 151,
"b": 31
},
"hsl": {
"h": 120,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.5907,
"c": 0.18482,
"h": 142.8
},
"luminance": 0.22523
}Semantic roles & 50–950 ramp
primary
#1F971F
secondary
#BF52BF
accent
#3FE9E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A