#22751E#22751E
#22751E is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.145 H 142.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #22751E |
|---|---|
| RGB | rgb(34, 117, 30) |
| HSL | hsl(117, 59%, 29%) |
| HSV | hsv(117, 74%, 46%) |
| CMYK | cmyk(70.9%, 0%, 74.4%, 54.1%) |
| CIE-LAB | lab(43.00, -42.20, 38.83) |
| CIE-LCH | lch(43.00, 57.35, 137.38°) |
| OKLab | oklab(49.47% -0.1148 0.0884) |
| OKLCH | oklch(49.47% 0.145 142.4) |
| XYZ | xyz(7.2549, 13.1556, 3.3850) |
| Luminance | 0.1316 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.56
Darkish Green
#287C37
ΔE00 4.24
Green
#008000
ΔE00 4.84
Dark Grass Green
#388004
ΔE00 5.94
Darkgreen
#006400
ΔE00 6.03
Jungle Green
#048243
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22751E #711E75
analogous
#4E751E #22751E #1E7546
triadic
#22751E #1E2275 #751E22
tetradic
#22751E #1E4E75 #711E75 #75461E
square
#22751E #1E4E75 #711E75 #75461E
split-complementary
#22751E #461E75 #751E4E
monochromatic
#071806 #144412 #22751E #30A62A #46CE40
Accessibility & contrast
On white
5.78
#22751E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#22751E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #22751E
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22751E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22751E | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A10
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#0D7164
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #22751e; /* rgb */ color: rgb(34, 117, 30); /* oklch */ color: oklch(49.5% 0.145 142.4);
Tailwind
colors: {
custom: {
50: '#6a9e5f',
500: '#22751e',
950: '#000000',
},
}SCSS
$custom: #22751e; $custom-light: #6a9e5f; $custom-dark: #000000;
JSON
{
"hex": "#22751e",
"rgb": {
"r": 34,
"g": 117,
"b": 30
},
"hsl": {
"h": 117.241,
"s": 59.184,
"l": 28.824
},
"oklch": {
"l": 0.49468,
"c": 0.14487,
"h": 142.4
},
"luminance": 0.13156
}Semantic roles & 50–950 ramp
primary
#22751E
secondary
#A446A9
accent
#45E2DB
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79