#226524#226524
#226524 is a dark, moderate green. Relative luminance 0.098; OKLCH L 44.9% C 0.119 H 143.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #226524 |
|---|---|
| RGB | rgb(34, 101, 36) |
| HSL | hsl(122, 50%, 26%) |
| HSV | hsv(122, 66%, 40%) |
| CMYK | cmyk(66.3%, 0%, 64.4%, 60.4%) |
| CIE-LAB | lab(37.43, -35.40, 30.03) |
| CIE-LCH | lch(37.43, 46.42, 139.69°) |
| OKLab | oklab(44.88% -0.096 0.0705) |
| OKLCH | oklch(44.88% 0.119 143.7) |
| XYZ | xyz(5.6315, 9.7743, 3.2586) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.50
Deep Green
#02590F
ΔE00 4.54
Forest Green
#2D5A27
ΔE00 4.57
Forest
#0B5509
ΔE00 5.64
Pine
#2B5D34
ΔE00 5.72
Spruce
#0A5F38
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226524 #652263
analogous
#426522 #226524 #226546
triadic
#226524 #242265 #652422
tetradic
#226524 #224265 #652263 #654622
square
#226524 #224265 #652263 #654622
split-complementary
#226524 #462265 #652242
monochromatic
#081708 #133714 #226524 #319334 #42BF46
Accessibility & contrast
On white
7.11
#226524 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#226524 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226524
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226524 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226524 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675C1D
Deuteranopia (green-blind)
#5F5629
Tritanopia (blue-blind)
#146257
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #226524; /* rgb */ color: rgb(34, 101, 36); /* oklch */ color: oklch(44.9% 0.119 143.7);
Tailwind
colors: {
custom: {
50: '#669261',
500: '#226524',
950: '#000000',
},
}SCSS
$custom: #226524; $custom-light: #669261; $custom-dark: #000000;
JSON
{
"hex": "#226524",
"rgb": {
"r": 34,
"g": 101,
"b": 36
},
"hsl": {
"h": 121.791,
"s": 49.63,
"l": 26.471
},
"oklch": {
"l": 0.44883,
"c": 0.11913,
"h": 143.7
},
"luminance": 0.09775
}Semantic roles & 50–950 ramp
primary
#226524
secondary
#994A96
accent
#4FD5D9
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79