#1F972E#1F972E
#1F972E is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.2% C 0.176 H 144.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1F972E |
|---|---|
| RGB | rgb(31, 151, 46) |
| HSL | hsl(128, 66%, 36%) |
| HSV | hsv(128, 79%, 59%) |
| CMYK | cmyk(79.5%, 0%, 69.5%, 40.8%) |
| CIE-LAB | lab(54.68, -52.96, 44.46) |
| CIE-LCH | lch(54.68, 69.14, 139.99°) |
| OKLab | oklab(59.19% -0.1431 0.1022) |
| OKLCH | oklch(59.19% 0.176 144.5) |
| XYZ | xyz(12.1240, 22.6203, 6.3114) |
| Luminance | 0.2262 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.20
Kelley Green
#009337
ΔE00 2.65
Emerald Green
#028F1E
ΔE00 3.16
True Green
#089404
ΔE00 3.36
Forestgreen (CSS)
#228B22
ΔE00 4.19
Emerald (survey)
#01A049
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F972E #971F88
analogous
#4C971F #1F972E #1F976A
triadic
#1F972E #2E1F97 #972E1F
tetradic
#1F972E #1F4C97 #971F88 #976A1F
square
#1F972E #1F4C97 #971F88 #976A1F
split-complementary
#1F972E #6A1F97 #971F4C
monochromatic
#0A310F #15641F #1F972E #29CA3D #54DC65
Accessibility & contrast
On white
3.80
#1F972E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#1F972E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F972E
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F972E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F972E | 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)
#9A881F
Deuteranopia (green-blind)
#8D7F38
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #1f972e; /* rgb */ color: rgb(31, 151, 46); /* oklch */ color: oklch(59.2% 0.176 144.5);
Tailwind
colors: {
custom: {
50: '#71b76c',
500: '#1f972e',
950: '#000000',
},
}SCSS
$custom: #1f972e; $custom-light: #71b76c; $custom-dark: #000000;
JSON
{
"hex": "#1f972e",
"rgb": {
"r": 31,
"g": 151,
"b": 46
},
"hsl": {
"h": 127.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.59188,
"c": 0.17583,
"h": 144.5
},
"luminance": 0.22622
}Semantic roles & 50–950 ramp
primary
#1F972E
secondary
#BF52B2
accent
#3FD4E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A