#226535#226535
#226535 is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.2% C 0.102 H 149.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #226535 |
|---|---|
| RGB | rgb(34, 101, 53) |
| HSL | hsl(137, 50%, 26%) |
| HSV | hsv(137, 66%, 40%) |
| CMYK | cmyk(66.3%, 0%, 47.5%, 60.4%) |
| CIE-LAB | lab(37.67, -32.74, 21.08) |
| CIE-LCH | lch(37.67, 38.94, 147.23°) |
| OKLab | oklab(45.15% -0.0884 0.0518) |
| OKLCH | oklch(45.15% 0.102 149.6) |
| XYZ | xyz(5.9555, 9.9039, 4.9653) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.27
Spruce
#0A5F38
ΔE00 3.62
Forest Green
#2D5A27
ΔE00 4.74
Hunter Green
#355E3B
ΔE00 4.78
Deep Green
#02590F
ΔE00 6.91
Forest
#0B5509
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226535 #652252
analogous
#316522 #226535 #226557
triadic
#226535 #352265 #653522
tetradic
#226535 #223165 #652252 #655722
square
#226535 #223165 #652252 #655722
split-complementary
#226535 #572265 #652231
monochromatic
#08170C #13371D #226535 #31934D #42BF66
Accessibility & contrast
On white
7.05
#226535 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#226535 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226535
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226535 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226535 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665C31
Deuteranopia (green-blind)
#5D5638
Tritanopia (blue-blind)
#0C6359
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #226535; /* rgb */ color: rgb(34, 101, 53); /* oklch */ color: oklch(45.2% 0.102 149.6);
Tailwind
colors: {
custom: {
50: '#65916d',
500: '#226535',
950: '#000000',
},
}SCSS
$custom: #226535; $custom-light: #65916d; $custom-dark: #000000;
JSON
{
"hex": "#226535",
"rgb": {
"r": 34,
"g": 101,
"b": 53
},
"hsl": {
"h": 137.015,
"s": 49.63,
"l": 26.471
},
"oklch": {
"l": 0.45154,
"c": 0.10246,
"h": 149.6
},
"luminance": 0.09904
}Semantic roles & 50–950 ramp
primary
#226535
secondary
#994A82
accent
#4FB2D9
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A