#22772F#22772F
#22772F is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.134 H 145.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #22772F |
|---|---|
| RGB | rgb(34, 119, 47) |
| HSL | hsl(129, 56%, 30%) |
| HSV | hsv(129, 71%, 47%) |
| CMYK | cmyk(71.4%, 0%, 60.5%, 53.3%) |
| CIE-LAB | lab(43.85, -41.00, 31.91) |
| CIE-LCH | lch(43.85, 51.95, 142.11°) |
| OKLab | oklab(50.23% -0.1107 0.0756) |
| OKLCH | oklch(50.23% 0.134 145.7) |
| XYZ | xyz(7.7691, 13.7381, 4.9311) |
| Luminance | 0.1374 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.98
Tree Green
#2A7E19
ΔE00 4.93
Jungle Green
#048243
ΔE00 5.04
Green
#008000
ΔE00 6.39
Dark Grass Green
#388004
ΔE00 7.61
Darkgreen
#006400
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22772F #77226A
analogous
#407722 #22772F #227759
triadic
#22772F #2F2277 #772F22
tetradic
#22772F #224077 #77226A #775922
square
#22772F #224077 #77226A #775922
split-complementary
#22772F #592277 #772240
monochromatic
#071809 #14471C #22772F #30A742 #49CB5C
Accessibility & contrast
On white
5.60
#22772F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#22772F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #22772F
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22772F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22772F | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796C28
Deuteranopia (green-blind)
#6F6535
Tritanopia (blue-blind)
#037467
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #22772f; /* rgb */ color: rgb(34, 119, 47); /* oklch */ color: oklch(50.2% 0.134 145.7);
Tailwind
colors: {
custom: {
50: '#6a9f6a',
500: '#22772f',
950: '#000000',
},
}SCSS
$custom: #22772f; $custom-light: #6a9f6a; $custom-dark: #000000;
JSON
{
"hex": "#22772f",
"rgb": {
"r": 34,
"g": 119,
"b": 47
},
"hsl": {
"h": 129.176,
"s": 55.556,
"l": 30
},
"oklch": {
"l": 0.50232,
"c": 0.13405,
"h": 145.7
},
"luminance": 0.13739
}Semantic roles & 50–950 ramp
primary
#22772F
secondary
#AA4B9B
accent
#49C8DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A