#226536#226536
#226536 is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.2% C 0.101 H 150.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #226536 |
|---|---|
| RGB | rgb(34, 101, 54) |
| HSL | hsl(138, 50%, 26%) |
| HSV | hsv(138, 66%, 40%) |
| CMYK | cmyk(66.3%, 0%, 46.5%, 60.4%) |
| CIE-LAB | lab(37.69, -32.55, 20.53) |
| CIE-LCH | lch(37.69, 38.49, 147.77°) |
| OKLab | oklab(45.17% -0.0879 0.0505) |
| OKLCH | oklch(45.17% 0.101 150.1) |
| XYZ | xyz(5.9788, 9.9132, 5.0877) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.21
Spruce
#0A5F38
ΔE00 3.45
Hunter Green
#355E3B
ΔE00 4.66
Forest Green
#2D5A27
ΔE00 4.86
Deep Green
#02590F
ΔE00 7.11
Forest
#0B5509
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226536 #652251
analogous
#306522 #226536 #226558
triadic
#226536 #362265 #653622
tetradic
#226536 #223065 #652251 #655822
square
#226536 #223065 #652251 #655822
split-complementary
#226536 #582265 #652230
monochromatic
#08170C #13371E #226536 #31934E #42BF67
Accessibility & contrast
On white
7.04
#226536 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#226536 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226536
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226536 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226536 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665C32
Deuteranopia (green-blind)
#5D5639
Tritanopia (blue-blind)
#0B635A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #226536; /* rgb */ color: rgb(34, 101, 54); /* oklch */ color: oklch(45.2% 0.101 150.1);
Tailwind
colors: {
custom: {
50: '#65916d',
500: '#226536',
950: '#000000',
},
}SCSS
$custom: #226536; $custom-light: #65916d; $custom-dark: #000000;
JSON
{
"hex": "#226536",
"rgb": {
"r": 34,
"g": 101,
"b": 54
},
"hsl": {
"h": 137.91,
"s": 49.63,
"l": 26.471
},
"oklch": {
"l": 0.45173,
"c": 0.10141,
"h": 150.1
},
"luminance": 0.09914
}Semantic roles & 50–950 ramp
primary
#226536
secondary
#994A81
accent
#4FB0D9
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A