#1F8E22#1F8E22
#1F8E22 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.173 H 143.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8E22 |
|---|---|
| RGB | rgb(31, 142, 34) |
| HSL | hsl(122, 64%, 34%) |
| HSV | hsv(122, 78%, 56%) |
| CMYK | cmyk(78.2%, 0%, 76.1%, 44.3%) |
| CIE-LAB | lab(51.56, -51.07, 45.97) |
| CIE-LCH | lch(51.56, 68.71, 138.01°) |
| OKLab | oklab(56.56% -0.1385 0.1038) |
| OKLCH | oklch(56.56% 0.173 143.1) |
| XYZ | xyz(10.5261, 19.7516, 4.7707) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.98
Forestgreen (CSS)
#228B22
ΔE00 1.06
Irish Green
#019529
ΔE00 2.57
True Green
#089404
ΔE00 3.05
Kelley Green
#009337
ΔE00 3.42
Green
#008000
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8E22 #8E1F8B
analogous
#548E1F #1F8E22 #1F8E5A
triadic
#1F8E22 #221F8E #8E221F
tetradic
#1F8E22 #1F548E #8E1F8B #8E5A1F
square
#1F8E22 #1F548E #8E1F8B #8E5A1F
split-complementary
#1F8E22 #5A1F8E #8E1F54
monochromatic
#092A0A #145C16 #1F8E22 #2AC02E #4FD953
Accessibility & contrast
On white
4.24
#1F8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#1F8E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8E22
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8E22 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91800C
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #1f8e22; /* rgb */ color: rgb(31, 142, 34); /* oklch */ color: oklch(56.6% 0.173 143.1);
Tailwind
colors: {
custom: {
50: '#6fb065',
500: '#1f8e22',
950: '#000000',
},
}SCSS
$custom: #1f8e22; $custom-light: #6fb065; $custom-dark: #000000;
JSON
{
"hex": "#1f8e22",
"rgb": {
"r": 31,
"g": 142,
"b": 34
},
"hsl": {
"h": 121.622,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.56564,
"c": 0.1731,
"h": 143.1
},
"luminance": 0.19753
}Semantic roles & 50–950 ramp
primary
#1F8E22
secondary
#BB4DB8
accent
#41E3E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A