#226529#226529
#226529 is a dark, moderate green. Relative luminance 0.098; OKLCH L 45.0% C 0.115 H 145.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #226529 |
|---|---|
| RGB | rgb(34, 101, 41) |
| HSL | hsl(126, 50%, 26%) |
| HSV | hsv(126, 66%, 40%) |
| CMYK | cmyk(66.3%, 0%, 59.4%, 60.4%) |
| CIE-LAB | lab(37.49, -34.71, 27.51) |
| CIE-LCH | lch(37.49, 44.30, 141.60°) |
| OKLab | oklab(44.95% -0.094 0.0655) |
| OKLCH | oklch(44.95% 0.115 145.1) |
| XYZ | xyz(5.7132, 9.8070, 3.6892) |
| Luminance | 0.0981 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.29
Pine
#2B5D34
ΔE00 4.90
Deep Green
#02590F
ΔE00 4.99
Darkgreen
#006400
ΔE00 5.46
Spruce
#0A5F38
ΔE00 6.00
Forest
#0B5509
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226529 #65225E
analogous
#3D6522 #226529 #22654B
triadic
#226529 #292265 #652922
tetradic
#226529 #223D65 #65225E #654B22
square
#226529 #223D65 #65225E #654B22
split-complementary
#226529 #4B2265 #65223D
monochromatic
#081709 #133716 #226529 #31933C #42BF4F
Accessibility & contrast
On white
7.09
#226529 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#226529 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226529
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226529 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226529 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675C23
Deuteranopia (green-blind)
#5E562E
Tritanopia (blue-blind)
#126258
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #226529; /* rgb */ color: rgb(34, 101, 41); /* oklch */ color: oklch(45.0% 0.115 145.1);
Tailwind
colors: {
custom: {
50: '#669264',
500: '#226529',
950: '#000000',
},
}SCSS
$custom: #226529; $custom-light: #669264; $custom-dark: #000000;
JSON
{
"hex": "#226529",
"rgb": {
"r": 34,
"g": 101,
"b": 41
},
"hsl": {
"h": 126.269,
"s": 49.63,
"l": 26.471
},
"oklch": {
"l": 0.44952,
"c": 0.11453,
"h": 145.1
},
"luminance": 0.09808
}Semantic roles & 50–950 ramp
primary
#226529
secondary
#994A91
accent
#4FCBD9
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A