#1F9921#1F9921
#1F9921 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.6% C 0.186 H 143.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1F9921 |
|---|---|
| RGB | rgb(31, 153, 33) |
| HSL | hsl(121, 66%, 36%) |
| HSV | hsv(121, 80%, 60%) |
| CMYK | cmyk(79.7%, 0%, 78.4%, 40%) |
| CIE-LAB | lab(55.26, -54.73, 49.98) |
| CIE-LCH | lch(55.26, 74.12, 137.60°) |
| OKLab | oklab(59.64% -0.1485 0.1121) |
| OKLCH | oklch(59.64% 0.186 143) |
| XYZ | xyz(12.2300, 23.1821, 5.2686) |
| Luminance | 0.2318 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 2.28
True Green
#089404
ΔE00 2.39
Grass Green
#3F9B0B
ΔE00 3.57
Emerald Green
#028F1E
ΔE00 3.70
Grassy Green
#419C03
ΔE00 4.11
Kelley Green
#009337
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F9921 #991F97
analogous
#5A991F #1F9921 #1F995E
triadic
#1F9921 #211F99 #99211F
tetradic
#1F9921 #1F5A99 #991F97 #995E1F
square
#1F9921 #1F5A99 #991F97 #995E1F
split-complementary
#1F9921 #5E1F99 #991F5A
monochromatic
#0A330B #156616 #1F9921 #29CC2C #56DD58
Accessibility & contrast
On white
3.73
#1F9921 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#1F9921 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F9921
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F9921 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F9921 | 1.00 | 3.73 | 5.64 | 5.64 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A02
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #1f9921; /* rgb */ color: rgb(31, 153, 33); /* oklch */ color: oklch(59.6% 0.186 143.0);
Tailwind
colors: {
custom: {
50: '#72b866',
500: '#1f9921',
950: '#000000',
},
}SCSS
$custom: #1f9921; $custom-light: #72b866; $custom-dark: #000000;
JSON
{
"hex": "#1f9921",
"rgb": {
"r": 31,
"g": 153,
"b": 33
},
"hsl": {
"h": 120.984,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.59642,
"c": 0.186,
"h": 143
},
"luminance": 0.23184
}Semantic roles & 50–950 ramp
primary
#1F9921
secondary
#C054BE
accent
#3FE6E9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A