#1F962C#1F962C
#1F962C is a mid, vivid green. Relative luminance 0.223; OKLCH L 58.9% C 0.176 H 144.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1F962C |
|---|---|
| RGB | rgb(31, 150, 44) |
| HSL | hsl(127, 66%, 35%) |
| HSV | hsv(127, 79%, 59%) |
| CMYK | cmyk(79.3%, 0%, 70.7%, 41.2%) |
| CIE-LAB | lab(54.33, -52.83, 44.91) |
| CIE-LCH | lch(54.33, 69.34, 139.63°) |
| OKLab | oklab(58.89% -0.1428 0.1029) |
| OKLCH | oklch(58.89% 0.176 144.2) |
| XYZ | xyz(11.9252, 22.2844, 6.0552) |
| Luminance | 0.2229 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.00
Kelley Green
#009337
ΔE00 2.63
Emerald Green
#028F1E
ΔE00 2.81
True Green
#089404
ΔE00 3.09
Forestgreen (CSS)
#228B22
ΔE00 3.83
Emerald (survey)
#01A049
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F962C #961F89
analogous
#4D961F #1F962C #1F9668
triadic
#1F962C #2C1F96 #962C1F
tetradic
#1F962C #1F4D96 #961F89 #96681F
square
#1F962C #1F4D96 #961F89 #96681F
split-complementary
#1F962C #681F96 #961F4D
monochromatic
#0A310E #15631D #1F962C #29C93B #54DC63
Accessibility & contrast
On white
3.85
#1F962C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#1F962C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F962C
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F962C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F962C | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99871C
Deuteranopia (green-blind)
#8C7E36
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #1f962c; /* rgb */ color: rgb(31, 150, 44); /* oklch */ color: oklch(58.9% 0.176 144.2);
Tailwind
colors: {
custom: {
50: '#71b66b',
500: '#1f962c',
950: '#000000',
},
}SCSS
$custom: #1f962c; $custom-light: #71b66b; $custom-dark: #000000;
JSON
{
"hex": "#1f962c",
"rgb": {
"r": 31,
"g": 150,
"b": 44
},
"hsl": {
"h": 126.555,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.58891,
"c": 0.17602,
"h": 144.2
},
"luminance": 0.22286
}Semantic roles & 50–950 ramp
primary
#1F962C
secondary
#BF52B3
accent
#3FD6E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A