#226340#226340
#226340 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.088 H 156.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #226340 |
|---|---|
| RGB | rgb(34, 99, 64) |
| HSL | hsl(148, 49%, 26%) |
| HSV | hsv(148, 66%, 39%) |
| CMYK | cmyk(65.7%, 0%, 35.4%, 61.2%) |
| CIE-LAB | lab(37.18, -29.61, 13.96) |
| CIE-LCH | lch(37.18, 32.74, 154.76°) |
| OKLab | oklab(44.82% -0.0805 0.0352) |
| OKLCH | oklch(44.82% 0.088 156.4) |
| XYZ | xyz(6.0464, 9.6333, 6.3903) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.48
Pine
#2B5D34
ΔE00 3.59
Hunter Green
#355E3B
ΔE00 3.88
Forest Green
#2D5A27
ΔE00 6.66
Dark Green Blue
#1F6357
ΔE00 8.49
Evergreen
#05472A
ΔE00 8.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226340 #632245
analogous
#246322 #226340 #226360
triadic
#226340 #402263 #634022
tetradic
#226340 #222463 #632245 #636022
square
#226340 #222463 #632245 #636022
split-complementary
#226340 #602263 #632224
monochromatic
#08170F #123523 #226340 #32915D #41BE7B
Accessibility & contrast
On white
7.18
#226340 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#226340 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226340
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226340 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226340 | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625B3E
Deuteranopia (green-blind)
#5A5542
Tritanopia (blue-blind)
#04625A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #226340; /* rgb */ color: rgb(34, 99, 64); /* oklch */ color: oklch(44.8% 0.088 156.4);
Tailwind
colors: {
custom: {
50: '#659075',
500: '#226340',
950: '#000000',
},
}SCSS
$custom: #226340; $custom-light: #659075; $custom-dark: #000000;
JSON
{
"hex": "#226340",
"rgb": {
"r": 34,
"g": 99,
"b": 64
},
"hsl": {
"h": 147.692,
"s": 48.872,
"l": 26.078
},
"oklch": {
"l": 0.44816,
"c": 0.08785,
"h": 156.4
},
"luminance": 0.09634
}Semantic roles & 50–950 ramp
primary
#226340
secondary
#974A73
accent
#4F99D8
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B