#227121#227121
#227121 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.138 H 142.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #227121 |
|---|---|
| RGB | rgb(34, 113, 33) |
| HSL | hsl(119, 55%, 29%) |
| HSV | hsv(119, 71%, 44%) |
| CMYK | cmyk(69.9%, 0%, 70.8%, 55.7%) |
| CIE-LAB | lab(41.63, -40.42, 36.10) |
| CIE-LCH | lch(41.63, 54.20, 138.23°) |
| OKLab | oklab(48.34% -0.1098 0.083) |
| OKLCH | oklch(48.34% 0.138 142.9) |
| XYZ | xyz(6.8389, 12.2594, 3.4444) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.63
Darkgreen
#006400
ΔE00 5.10
Tree Green
#2A7E19
ΔE00 5.12
Green
#008000
ΔE00 6.38
Dark Grass Green
#388004
ΔE00 7.38
Jungle Green
#048243
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227121 #702171
analogous
#4A7121 #227121 #217148
triadic
#227121 #212271 #712122
tetradic
#227121 #214A71 #702171 #714821
square
#227121 #214A71 #702171 #714821
split-complementary
#227121 #482171 #71214A
monochromatic
#071807 #144213 #227121 #30A02F #46C844
Accessibility & contrast
On white
6.08
#227121 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#227121 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227121
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227121 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227121 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746616
Deuteranopia (green-blind)
#6A6028
Tritanopia (blue-blind)
#0F6E61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #227121; /* rgb */ color: rgb(34, 113, 33); /* oklch */ color: oklch(48.3% 0.138 142.9);
Tailwind
colors: {
custom: {
50: '#699b61',
500: '#227121',
950: '#000000',
},
}SCSS
$custom: #227121; $custom-light: #699b61; $custom-dark: #000000;
JSON
{
"hex": "#227121",
"rgb": {
"r": 34,
"g": 113,
"b": 33
},
"hsl": {
"h": 119.25,
"s": 54.795,
"l": 28.627
},
"oklch": {
"l": 0.4834,
"c": 0.13767,
"h": 142.9
},
"luminance": 0.1226
}Semantic roles & 50–950 ramp
primary
#227121
secondary
#A349A5
accent
#4ADEDC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79