#1F971A#1F971A
#1F971A is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.0% C 0.187 H 142.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1F971A |
|---|---|
| RGB | rgb(31, 151, 26) |
| HSL | hsl(118, 71%, 35%) |
| HSV | hsv(118, 83%, 59%) |
| CMYK | cmyk(79.5%, 0%, 82.8%, 40.8%) |
| CIE-LAB | lab(54.55, -54.55, 51.50) |
| CIE-LCH | lch(54.55, 75.02, 136.65°) |
| OKLab | oklab(59.04% -0.1483 0.1142) |
| OKLCH | oklch(59.04% 0.187 142.4) |
| XYZ | xyz(11.8174, 22.4977, 4.6968) |
| Luminance | 0.2250 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 1.60
Irish Green
#019529
ΔE00 2.39
Emerald Green
#028F1E
ΔE00 3.24
Grass Green
#3F9B0B
ΔE00 3.44
Grassy Green
#419C03
ΔE00 3.99
Forestgreen (CSS)
#228B22
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F971A #921A97
analogous
#5E971A #1F971A #1A9754
triadic
#1F971A #1A1F97 #971A1F
tetradic
#1F971A #1A5E97 #921A97 #97541A
square
#1F971A #1A5E97 #921A97 #97541A
split-complementary
#1F971A #541A97 #971A5E
monochromatic
#0A2F08 #146311 #1F971A #2ACB23 #51E04B
Accessibility & contrast
On white
3.82
#1F971A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#1F971A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F971A
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F971A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F971A | 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)
#9B8800
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #1f971a; /* rgb */ color: rgb(31, 151, 26); /* oklch */ color: oklch(59.0% 0.187 142.4);
Tailwind
colors: {
custom: {
50: '#72b762',
500: '#1f971a',
950: '#000000',
},
}SCSS
$custom: #1f971a; $custom-light: #72b762; $custom-dark: #000000;
JSON
{
"hex": "#1f971a",
"rgb": {
"r": 31,
"g": 151,
"b": 26
},
"hsl": {
"h": 117.6,
"s": 70.621,
"l": 34.706
},
"oklch": {
"l": 0.59041,
"c": 0.18717,
"h": 142.4
},
"luminance": 0.22499
}Semantic roles & 50–950 ramp
primary
#1F971A
secondary
#BD4BC2
accent
#3AEDE6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A