#1F972C#1F972C
#1F972C is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.2% C 0.177 H 144.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1F972C |
|---|---|
| RGB | rgb(31, 151, 44) |
| HSL | hsl(127, 66%, 36%) |
| HSV | hsv(127, 79%, 59%) |
| CMYK | cmyk(79.5%, 0%, 70.9%, 40.8%) |
| CIE-LAB | lab(54.66, -53.15, 45.27) |
| CIE-LCH | lch(54.66, 69.82, 139.58°) |
| OKLab | oklab(59.17% -0.1437 0.1037) |
| OKLCH | oklch(59.17% 0.177 144.2) |
| XYZ | xyz(12.0855, 22.6049, 6.1086) |
| Luminance | 0.2261 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.20
Kelley Green
#009337
ΔE00 2.85
Emerald Green
#028F1E
ΔE00 3.09
True Green
#089404
ΔE00 3.12
Forestgreen (CSS)
#228B22
ΔE00 4.15
Emerald (survey)
#01A049
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F972C #971F8A
analogous
#4E971F #1F972C #1F9768
triadic
#1F972C #2C1F97 #972C1F
tetradic
#1F972C #1F4E97 #971F8A #97681F
square
#1F972C #1F4E97 #971F8A #97681F
split-complementary
#1F972C #681F97 #971F4E
monochromatic
#0A310E #15641D #1F972C #29CA3B #54DC63
Accessibility & contrast
On white
3.80
#1F972C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#1F972C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F972C
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F972C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F972C | 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)
#9A881C
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #1f972c; /* rgb */ color: rgb(31, 151, 44); /* oklch */ color: oklch(59.2% 0.177 144.2);
Tailwind
colors: {
custom: {
50: '#71b76b',
500: '#1f972c',
950: '#000000',
},
}SCSS
$custom: #1f972c; $custom-light: #71b76b; $custom-dark: #000000;
JSON
{
"hex": "#1f972c",
"rgb": {
"r": 31,
"g": 151,
"b": 44
},
"hsl": {
"h": 126.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.5917,
"c": 0.17719,
"h": 144.2
},
"luminance": 0.22606
}Semantic roles & 50–950 ramp
primary
#1F972C
secondary
#BF52B4
accent
#3FD6E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A