#1F8A22#1F8A22
#1F8A22 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.168 H 143.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8A22 |
|---|---|
| RGB | rgb(31, 138, 34) |
| HSL | hsl(122, 63%, 33%) |
| HSV | hsv(122, 78%, 54%) |
| CMYK | cmyk(77.5%, 0%, 75.4%, 45.9%) |
| CIE-LAB | lab(50.20, -49.74, 44.59) |
| CIE-LCH | lch(50.20, 66.81, 138.12°) |
| OKLab | oklab(55.43% -0.1349 0.101) |
| OKLCH | oklch(55.43% 0.168 143.2) |
| XYZ | xyz(9.9417, 18.5826, 4.5759) |
| Luminance | 0.1858 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.44
Emerald Green
#028F1E
ΔE00 1.93
Irish Green
#019529
ΔE00 3.85
Kelley Green
#009337
ΔE00 4.10
Green
#008000
ΔE00 4.25
True Green
#089404
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8A22 #8A1F87
analogous
#518A1F #1F8A22 #1F8A57
triadic
#1F8A22 #221F8A #8A221F
tetradic
#1F8A22 #1F518A #8A1F87 #8A571F
square
#1F8A22 #1F518A #8A1F87 #8A571F
split-complementary
#1F8A22 #571F8A #8A1F51
monochromatic
#092609 #145816 #1F8A22 #2ABC2E #4CD750
Accessibility & contrast
On white
4.45
#1F8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#1F8A22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8A22
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8A22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8A22 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C0E
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #1f8a22; /* rgb */ color: rgb(31, 138, 34); /* oklch */ color: oklch(55.4% 0.168 143.2);
Tailwind
colors: {
custom: {
50: '#6ead64',
500: '#1f8a22',
950: '#000000',
},
}SCSS
$custom: #1f8a22; $custom-light: #6ead64; $custom-dark: #000000;
JSON
{
"hex": "#1f8a22",
"rgb": {
"r": 31,
"g": 138,
"b": 34
},
"hsl": {
"h": 121.682,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.55433,
"c": 0.16849,
"h": 143.2
},
"luminance": 0.18584
}Semantic roles & 50–950 ramp
primary
#1F8A22
secondary
#BA4BB7
accent
#41E2E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A