#226342#226342
#226342 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.9% C 0.086 H 157.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #226342 |
|---|---|
| RGB | rgb(34, 99, 66) |
| HSL | hsl(150, 49%, 26%) |
| HSV | hsv(150, 66%, 39%) |
| CMYK | cmyk(65.7%, 0%, 33.3%, 61.2%) |
| CIE-LAB | lab(37.22, -29.16, 12.82) |
| CIE-LCH | lch(37.22, 31.85, 156.27°) |
| OKLab | oklab(44.87% -0.0794 0.0324) |
| OKLCH | oklch(44.87% 0.086 157.8) |
| XYZ | xyz(6.1043, 9.6565, 6.6954) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.81
Pine
#2B5D34
ΔE00 4.05
Hunter Green
#355E3B
ΔE00 4.08
Forest Green
#2D5A27
ΔE00 7.18
Dark Green Blue
#1F6357
ΔE00 7.86
Evergreen
#05472A
ΔE00 8.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226342 #632243
analogous
#236322 #226342 #226362
triadic
#226342 #422263 #634222
tetradic
#226342 #222363 #632243 #636222
square
#226342 #222363 #632243 #636222
split-complementary
#226342 #622263 #632223
monochromatic
#08170F #123524 #226342 #329160 #41BE7F
Accessibility & contrast
On white
7.16
#226342 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#226342 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226342
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226342 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226342 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625B40
Deuteranopia (green-blind)
#595544
Tritanopia (blue-blind)
#03625A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #226342; /* rgb */ color: rgb(34, 99, 66); /* oklch */ color: oklch(44.9% 0.086 157.8);
Tailwind
colors: {
custom: {
50: '#659076',
500: '#226342',
950: '#000000',
},
}SCSS
$custom: #226342; $custom-light: #659076; $custom-dark: #000000;
JSON
{
"hex": "#226342",
"rgb": {
"r": 34,
"g": 99,
"b": 66
},
"hsl": {
"h": 149.538,
"s": 48.872,
"l": 26.078
},
"oklch": {
"l": 0.44865,
"c": 0.0858,
"h": 157.8
},
"luminance": 0.09657
}Semantic roles & 50–950 ramp
primary
#226342
secondary
#974A71
accent
#4F95D8
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B