#226040#226040
#226040 is a dark, moderate green. Relative luminance 0.091; OKLCH L 44.0% C 0.083 H 157.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #226040 |
|---|---|
| RGB | rgb(34, 96, 64) |
| HSL | hsl(149, 48%, 25%) |
| HSV | hsv(149, 65%, 38%) |
| CMYK | cmyk(64.6%, 0%, 33.3%, 62.4%) |
| CIE-LAB | lab(36.13, -28.21, 12.53) |
| CIE-LCH | lch(36.13, 30.87, 156.05°) |
| OKLab | oklab(43.96% -0.0769 0.0317) |
| OKLCH | oklch(43.96% 0.083 157.6) |
| XYZ | xyz(5.7675, 9.0754, 6.2973) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.70
Pine
#2B5D34
ΔE00 3.70
Hunter Green
#355E3B
ΔE00 3.70
Forest Green
#2D5A27
ΔE00 6.88
Dark Green Blue
#1F6357
ΔE00 7.78
Evergreen
#05472A
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226040 #602242
analogous
#236022 #226040 #22605F
triadic
#226040 #402260 #604022
tetradic
#226040 #222360 #602242 #605F22
square
#226040 #222360 #602242 #605F22
split-complementary
#226040 #5F2260 #602223
monochromatic
#08170F #123322 #226040 #328D5E #42BA7C
Accessibility & contrast
On white
7.46
#226040 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#226040 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226040
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226040 | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F593E
Deuteranopia (green-blind)
#575342
Tritanopia (blue-blind)
#065F58
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #226040; /* rgb */ color: rgb(34, 96, 64); /* oklch */ color: oklch(44.0% 0.083 157.6);
Tailwind
colors: {
custom: {
50: '#648e75',
500: '#226040',
950: '#000000',
},
}SCSS
$custom: #226040; $custom-light: #648e75; $custom-dark: #000000;
JSON
{
"hex": "#226040",
"rgb": {
"r": 34,
"g": 96,
"b": 64
},
"hsl": {
"h": 149.032,
"s": 47.692,
"l": 25.49
},
"oklch": {
"l": 0.43958,
"c": 0.08317,
"h": 157.6
},
"luminance": 0.09076
}Semantic roles & 50–950 ramp
primary
#226040
secondary
#944A70
accent
#5196D7
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B