#1F9922#1F9922
#1F9922 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.6% C 0.185 H 143.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1F9922 |
|---|---|
| RGB | rgb(31, 153, 34) |
| HSL | hsl(121, 66%, 36%) |
| HSV | hsv(121, 80%, 60%) |
| CMYK | cmyk(79.7%, 0%, 77.8%, 40%) |
| CIE-LAB | lab(55.27, -54.65, 49.65) |
| CIE-LCH | lch(55.27, 73.84, 137.75°) |
| OKLab | oklab(59.65% -0.1482 0.1115) |
| OKLCH | oklch(59.65% 0.185 143) |
| XYZ | xyz(12.2443, 23.1878, 5.3434) |
| Luminance | 0.2319 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 2.21
True Green
#089404
ΔE00 2.46
Grass Green
#3F9B0B
ΔE00 3.65
Emerald Green
#028F1E
ΔE00 3.68
Grassy Green
#419C03
ΔE00 4.19
Kelley Green
#009337
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F9922 #991F96
analogous
#59991F #1F9922 #1F995F
triadic
#1F9922 #221F99 #99221F
tetradic
#1F9922 #1F5999 #991F96 #995F1F
square
#1F9922 #1F5999 #991F96 #995F1F
split-complementary
#1F9922 #5F1F99 #991F59
monochromatic
#0A330B #156617 #1F9922 #29CC2D #56DD59
Accessibility & contrast
On white
3.72
#1F9922 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#1F9922 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F9922
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F9922 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F9922 | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 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)
#9C8A05
Deuteranopia (green-blind)
#8F8130
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #1f9922; /* rgb */ color: rgb(31, 153, 34); /* oklch */ color: oklch(59.6% 0.185 143.0);
Tailwind
colors: {
custom: {
50: '#72b866',
500: '#1f9922',
950: '#000000',
},
}SCSS
$custom: #1f9922; $custom-light: #72b866; $custom-dark: #000000;
JSON
{
"hex": "#1f9922",
"rgb": {
"r": 31,
"g": 153,
"b": 34
},
"hsl": {
"h": 121.475,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.59648,
"c": 0.18547,
"h": 143
},
"luminance": 0.23189
}Semantic roles & 50–950 ramp
primary
#1F9922
secondary
#C054BE
accent
#3FE5E9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A