#1F972B#1F972B
#1F972B is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.2% C 0.178 H 144.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1F972B |
|---|---|
| RGB | rgb(31, 151, 43) |
| HSL | hsl(126, 66%, 36%) |
| HSV | hsv(126, 79%, 59%) |
| CMYK | cmyk(79.5%, 0%, 71.5%, 40.8%) |
| CIE-LAB | lab(54.66, -53.25, 45.67) |
| CIE-LCH | lch(54.66, 70.15, 139.38°) |
| OKLab | oklab(59.16% -0.144 0.1044) |
| OKLCH | oklch(59.16% 0.178 144.1) |
| XYZ | xyz(12.0669, 22.5975, 6.0108) |
| Luminance | 0.2260 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.22
Kelley Green
#009337
ΔE00 2.95
True Green
#089404
ΔE00 3.01
Emerald Green
#028F1E
ΔE00 3.06
Forestgreen (CSS)
#228B22
ΔE00 4.14
Grass Green
#3F9B0B
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F972B #971F8B
analogous
#4F971F #1F972B #1F9767
triadic
#1F972B #2B1F97 #972B1F
tetradic
#1F972B #1F4F97 #971F8B #97671F
square
#1F972B #1F4F97 #971F8B #97671F
split-complementary
#1F972B #671F97 #971F4F
monochromatic
#0A310E #15641D #1F972B #29CA39 #54DC62
Accessibility & contrast
On white
3.80
#1F972B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#1F972B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F972B
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F972B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F972B | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A881A
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #1f972b; /* rgb */ color: rgb(31, 151, 43); /* oklch */ color: oklch(59.2% 0.178 144.1);
Tailwind
colors: {
custom: {
50: '#71b76b',
500: '#1f972b',
950: '#000000',
},
}SCSS
$custom: #1f972b; $custom-light: #71b76b; $custom-dark: #000000;
JSON
{
"hex": "#1f972b",
"rgb": {
"r": 31,
"g": 151,
"b": 43
},
"hsl": {
"h": 126,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.59161,
"c": 0.17784,
"h": 144.1
},
"luminance": 0.22599
}Semantic roles & 50–950 ramp
primary
#1F972B
secondary
#BF52B5
accent
#3FD8E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A