#226221#226221
#226221 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.0% C 0.118 H 143.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #226221 |
|---|---|
| RGB | rgb(34, 98, 33) |
| HSL | hsl(119, 50%, 26%) |
| HSV | hsv(119, 66%, 38%) |
| CMYK | cmyk(65.3%, 0%, 66.3%, 61.6%) |
| CIE-LAB | lab(36.34, -34.55, 30.29) |
| CIE-LCH | lch(36.34, 45.95, 138.76°) |
| OKLab | oklab(43.97% -0.0939 0.0707) |
| OKLCH | oklch(43.97% 0.118 143) |
| XYZ | xyz(5.3016, 9.1847, 2.9320) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.75
Forest Green
#2D5A27
ΔE00 3.87
Darkgreen
#006400
ΔE00 4.40
Forest
#0B5509
ΔE00 4.72
Pine
#2B5D34
ΔE00 5.50
Spruce
#0A5F38
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226221 #612162
analogous
#426221 #226221 #216240
triadic
#226221 #212262 #622122
tetradic
#226221 #214262 #612162 #624021
square
#226221 #214262 #612162 #624021
split-complementary
#226221 #402162 #622142
monochromatic
#081708 #123412 #226221 #329030 #42BE40
Accessibility & contrast
On white
7.40
#226221 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#226221 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226221
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226221 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226221 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#64591A
Deuteranopia (green-blind)
#5C5326
Tritanopia (blue-blind)
#165F54
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #226221; /* rgb */ color: rgb(34, 98, 33); /* oklch */ color: oklch(44.0% 0.118 143.0);
Tailwind
colors: {
custom: {
50: '#668f5f',
500: '#226221',
950: '#000000',
},
}SCSS
$custom: #226221; $custom-light: #668f5f; $custom-dark: #000000;
JSON
{
"hex": "#226221",
"rgb": {
"r": 34,
"g": 98,
"b": 33
},
"hsl": {
"h": 119.077,
"s": 49.618,
"l": 25.686
},
"oklch": {
"l": 0.43967,
"c": 0.11756,
"h": 143
},
"luminance": 0.09185
}Semantic roles & 50–950 ramp
primary
#226221
secondary
#954996
accent
#4FD9D7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79