#227722#227722
#227722 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.145 H 143.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #227722 |
|---|---|
| RGB | rgb(34, 119, 34) |
| HSL | hsl(120, 56%, 30%) |
| HSV | hsv(120, 71%, 47%) |
| CMYK | cmyk(71.4%, 0%, 71.4%, 53.3%) |
| CIE-LAB | lab(43.72, -42.55, 37.90) |
| CIE-LCH | lch(43.72, 56.98, 138.30°) |
| OKLab | oklab(50.08% -0.1155 0.0869) |
| OKLCH | oklch(50.08% 0.145 143) |
| XYZ | xyz(7.5448, 13.6484, 3.7499) |
| Luminance | 0.1365 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.23
Darkish Green
#287C37
ΔE00 3.53
Green
#008000
ΔE00 4.62
Dark Grass Green
#388004
ΔE00 5.82
Jungle Green
#048243
ΔE00 6.64
Darkgreen
#006400
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227722 #772277
analogous
#4D7722 #227722 #22774D
triadic
#227722 #222277 #772222
tetradic
#227722 #224C77 #772277 #774D22
square
#227722 #224C77 #772277 #774D22
split-complementary
#227722 #4C2277 #77224D
monochromatic
#071807 #144714 #227722 #30A730 #49CB49
Accessibility & contrast
On white
5.63
#227722 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#227722 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227722
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227722 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227722 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6B16
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#0A7366
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #227722; /* rgb */ color: rgb(34, 119, 34); /* oklch */ color: oklch(50.1% 0.145 143.0);
Tailwind
colors: {
custom: {
50: '#6a9f62',
500: '#227722',
950: '#000000',
},
}SCSS
$custom: #227722; $custom-light: #6a9f62; $custom-dark: #000000;
JSON
{
"hex": "#227722",
"rgb": {
"r": 34,
"g": 119,
"b": 34
},
"hsl": {
"h": 120,
"s": 55.556,
"l": 30
},
"oklch": {
"l": 0.50082,
"c": 0.14459,
"h": 143
},
"luminance": 0.13649
}Semantic roles & 50–950 ramp
primary
#227722
secondary
#AA4BAA
accent
#49DFDF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F05
muted
#7A7E7A