#22891F#22891F
#22891F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.168 H 142.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #22891F |
|---|---|
| RGB | rgb(34, 137, 31) |
| HSL | hsl(118, 63%, 33%) |
| HSV | hsv(118, 77%, 54%) |
| CMYK | cmyk(75.2%, 0%, 77.4%, 46.3%) |
| CIE-LAB | lab(49.89, -49.15, 45.42) |
| CIE-LCH | lch(49.89, 66.92, 137.26°) |
| OKLab | oklab(55.19% -0.1336 0.1023) |
| OKLCH | oklch(55.19% 0.168 142.6) |
| XYZ | xyz(9.8521, 18.3292, 4.3147) |
| Luminance | 0.1833 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.74
Emerald Green
#028F1E
ΔE00 2.27
Green
#008000
ΔE00 3.87
Tree Green
#2A7E19
ΔE00 3.91
Irish Green
#019529
ΔE00 4.27
True Green
#089404
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22891F #861F89
analogous
#57891F #22891F #1F8951
triadic
#22891F #1F2289 #891F22
tetradic
#22891F #1F5789 #861F89 #89511F
square
#22891F #1F5789 #861F89 #89511F
split-complementary
#22891F #511F89 #891F57
monochromatic
#092508 #165714 #22891F #2EBB2A #50D64C
Accessibility & contrast
On white
4.50
#22891F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#22891F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #22891F
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22891F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##22891F | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C08
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #22891f; /* rgb */ color: rgb(34, 137, 31); /* oklch */ color: oklch(55.2% 0.168 142.6);
Tailwind
colors: {
custom: {
50: '#6fac63',
500: '#22891f',
950: '#000000',
},
}SCSS
$custom: #22891f; $custom-light: #6fac63; $custom-dark: #000000;
JSON
{
"hex": "#22891f",
"rgb": {
"r": 34,
"g": 137,
"b": 31
},
"hsl": {
"h": 118.302,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.55193,
"c": 0.16822,
"h": 142.6
},
"luminance": 0.1833
}Semantic roles & 50–950 ramp
primary
#22891F
secondary
#B64BB9
accent
#42E6E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A