#1F8B22#1F8B22
#1F8B22 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.170 H 143.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8B22 |
|---|---|
| RGB | rgb(31, 139, 34) |
| HSL | hsl(122, 64%, 33%) |
| HSV | hsv(122, 78%, 55%) |
| CMYK | cmyk(77.7%, 0%, 75.5%, 45.5%) |
| CIE-LAB | lab(50.54, -50.08, 44.94) |
| CIE-LCH | lch(50.54, 67.28, 138.09°) |
| OKLab | oklab(55.72% -0.1358 0.1017) |
| OKLCH | oklch(55.72% 0.17 143.2) |
| XYZ | xyz(10.0858, 18.8709, 4.6240) |
| Luminance | 0.1887 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.19
Emerald Green
#028F1E
ΔE00 1.63
Irish Green
#019529
ΔE00 3.52
Kelley Green
#009337
ΔE00 3.89
True Green
#089404
ΔE00 3.94
Green
#008000
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8B22 #8B1F88
analogous
#528B1F #1F8B22 #1F8B58
triadic
#1F8B22 #221F8B #8B221F
tetradic
#1F8B22 #1F528B #8B1F88 #8B581F
square
#1F8B22 #1F528B #8B1F88 #8B581F
split-complementary
#1F8B22 #581F8B #8B1F52
monochromatic
#09270A #145916 #1F8B22 #2ABD2E #4DD751
Accessibility & contrast
On white
4.40
#1F8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#1F8B22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8B22
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8B22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8B22 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D0E
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #1f8b22; /* rgb */ color: rgb(31, 139, 34); /* oklch */ color: oklch(55.7% 0.170 143.2);
Tailwind
colors: {
custom: {
50: '#6eae64',
500: '#1f8b22',
950: '#000000',
},
}SCSS
$custom: #1f8b22; $custom-light: #6eae64; $custom-dark: #000000;
JSON
{
"hex": "#1f8b22",
"rgb": {
"r": 31,
"g": 139,
"b": 34
},
"hsl": {
"h": 121.667,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.55716,
"c": 0.16964,
"h": 143.2
},
"luminance": 0.18872
}Semantic roles & 50–950 ramp
primary
#1F8B22
secondary
#BA4CB7
accent
#41E2E7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A