#226140#226140
#226140 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.2% C 0.085 H 157.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #226140 |
|---|---|
| RGB | rgb(34, 97, 64) |
| HSL | hsl(149, 48%, 26%) |
| HSV | hsv(149, 65%, 38%) |
| CMYK | cmyk(64.9%, 0%, 34%, 62%) |
| CIE-LAB | lab(36.48, -28.68, 13.01) |
| CIE-LCH | lch(36.48, 31.50, 155.60°) |
| OKLab | oklab(44.24% -0.0781 0.0329) |
| OKLCH | oklch(44.24% 0.085 157.2) |
| XYZ | xyz(5.8593, 9.2591, 6.3279) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.55
Pine
#2B5D34
ΔE00 3.61
Hunter Green
#355E3B
ΔE00 3.72
Forest Green
#2D5A27
ΔE00 6.78
Dark Green Blue
#1F6357
ΔE00 8.01
Evergreen
#05472A
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226140 #612243
analogous
#236122 #226140 #22615F
triadic
#226140 #402261 #614022
tetradic
#226140 #222361 #612243 #615F22
square
#226140 #222361 #612243 #615F22
split-complementary
#226140 #5F2261 #612223
monochromatic
#08170F #123422 #226140 #328E5E #42BC7C
Accessibility & contrast
On white
7.36
#226140 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#226140 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226140
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226140 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60593E
Deuteranopia (green-blind)
#585342
Tritanopia (blue-blind)
#066058
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #226140; /* rgb */ color: rgb(34, 97, 64); /* oklch */ color: oklch(44.2% 0.085 157.2);
Tailwind
colors: {
custom: {
50: '#648e75',
500: '#226140',
950: '#000000',
},
}SCSS
$custom: #226140; $custom-light: #648e75; $custom-dark: #000000;
JSON
{
"hex": "#226140",
"rgb": {
"r": 34,
"g": 97,
"b": 64
},
"hsl": {
"h": 148.571,
"s": 48.092,
"l": 25.686
},
"oklch": {
"l": 0.44244,
"c": 0.08474,
"h": 157.2
},
"luminance": 0.0926
}Semantic roles & 50–950 ramp
primary
#226140
secondary
#954A71
accent
#5097D8
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B