#226533#226533
#226533 is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.1% C 0.105 H 148.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #226533 |
|---|---|
| RGB | rgb(34, 101, 51) |
| HSL | hsl(135, 50%, 26%) |
| HSV | hsv(135, 66%, 40%) |
| CMYK | cmyk(66.3%, 0%, 49.5%, 60.4%) |
| CIE-LAB | lab(37.64, -33.10, 22.18) |
| CIE-LCH | lch(37.64, 39.85, 146.18°) |
| OKLab | oklab(45.12% -0.0894 0.0542) |
| OKLCH | oklch(45.12% 0.105 148.8) |
| XYZ | xyz(5.9105, 9.8859, 4.7280) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.45
Spruce
#0A5F38
ΔE00 4.00
Forest Green
#2D5A27
ΔE00 4.54
Hunter Green
#355E3B
ΔE00 5.04
Deep Green
#02590F
ΔE00 6.51
Forest
#0B5509
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226533 #652254
analogous
#336522 #226533 #226555
triadic
#226533 #332265 #653322
tetradic
#226533 #223365 #652254 #655522
square
#226533 #223365 #652254 #655522
split-complementary
#226533 #552265 #652233
monochromatic
#08170C #13371C #226533 #31934A #42BF62
Accessibility & contrast
On white
7.05
#226533 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#226533 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226533
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226533 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226533 | 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)
#665C2F
Deuteranopia (green-blind)
#5D5636
Tritanopia (blue-blind)
#0D6359
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #226533; /* rgb */ color: rgb(34, 101, 51); /* oklch */ color: oklch(45.1% 0.105 148.8);
Tailwind
colors: {
custom: {
50: '#65916b',
500: '#226533',
950: '#000000',
},
}SCSS
$custom: #226533; $custom-light: #65916b; $custom-dark: #000000;
JSON
{
"hex": "#226533",
"rgb": {
"r": 34,
"g": 101,
"b": 51
},
"hsl": {
"h": 135.224,
"s": 49.63,
"l": 26.471
},
"oklch": {
"l": 0.45116,
"c": 0.10453,
"h": 148.8
},
"luminance": 0.09886
}Semantic roles & 50–950 ramp
primary
#226533
secondary
#994A85
accent
#4FB6D9
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A