#22781E#22781E
#22781E is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.149 H 142.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #22781E |
|---|---|
| RGB | rgb(34, 120, 30) |
| HSL | hsl(117, 60%, 29%) |
| HSV | hsv(117, 75%, 47%) |
| CMYK | cmyk(71.7%, 0%, 75%, 52.9%) |
| CIE-LAB | lab(44.04, -43.29, 39.91) |
| CIE-LCH | lch(44.04, 58.88, 137.33°) |
| OKLab | oklab(50.33% -0.1177 0.0906) |
| OKLCH | oklch(50.33% 0.149 142.4) |
| XYZ | xyz(7.6101, 13.8659, 3.5034) |
| Luminance | 0.1387 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.58
Green
#008000
ΔE00 3.94
Darkish Green
#287C37
ΔE00 3.98
Dark Grass Green
#388004
ΔE00 5.15
Forestgreen (CSS)
#228B22
ΔE00 6.76
Darkgreen
#006400
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22781E #741E78
analogous
#4F781E #22781E #1E7847
triadic
#22781E #1E2278 #781E22
tetradic
#22781E #1E4F78 #741E78 #78471E
square
#22781E #1E4F78 #741E78 #78471E
split-complementary
#22781E #471E78 #781E4F
monochromatic
#071806 #144712 #22781E #30A92A #47CF41
Accessibility & contrast
On white
5.57
#22781E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#22781E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #22781E
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22781E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22781E | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C0E
Deuteranopia (green-blind)
#716527
Tritanopia (blue-blind)
#0B7466
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #22781e; /* rgb */ color: rgb(34, 120, 30); /* oklch */ color: oklch(50.3% 0.149 142.4);
Tailwind
colors: {
custom: {
50: '#6ba060',
500: '#22781e',
950: '#000000',
},
}SCSS
$custom: #22781e; $custom-light: #6ba060; $custom-dark: #000000;
JSON
{
"hex": "#22781e",
"rgb": {
"r": 34,
"g": 120,
"b": 30
},
"hsl": {
"h": 117.333,
"s": 60,
"l": 29.412
},
"oklch": {
"l": 0.50333,
"c": 0.14857,
"h": 142.4
},
"luminance": 0.13867
}Semantic roles & 50–950 ramp
primary
#22781E
secondary
#A746AC
accent
#45E3DC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79