#226737#226737
#226737 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.8% C 0.103 H 150.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #226737 |
|---|---|
| RGB | rgb(34, 103, 55) |
| HSL | hsl(138, 50%, 27%) |
| HSV | hsv(138, 67%, 40%) |
| CMYK | cmyk(67%, 0%, 46.6%, 59.6%) |
| CIE-LAB | lab(38.40, -33.23, 20.88) |
| CIE-LCH | lch(38.40, 39.25, 147.87°) |
| OKLab | oklab(45.77% -0.0897 0.0514) |
| OKLCH | oklch(45.77% 0.103 150.2) |
| XYZ | xyz(6.1991, 10.3158, 5.2781) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.82
Spruce
#0A5F38
ΔE00 3.89
Hunter Green
#355E3B
ΔE00 5.12
Forest Green
#2D5A27
ΔE00 5.36
Deep Green
#02590F
ΔE00 7.39
Darkish Green
#287C37
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226737 #672252
analogous
#306722 #226737 #22675A
triadic
#226737 #372267 #673722
tetradic
#226737 #223067 #672252 #675A22
square
#226737 #223067 #672252 #675A22
split-complementary
#226737 #5A2267 #672230
monochromatic
#08170C #13391E #226737 #319550 #43C169
Accessibility & contrast
On white
6.86
#226737 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#226737 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226737
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226737 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226737 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685E33
Deuteranopia (green-blind)
#5F583A
Tritanopia (blue-blind)
#09655B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #226737; /* rgb */ color: rgb(34, 103, 55); /* oklch */ color: oklch(45.8% 0.103 150.2);
Tailwind
colors: {
custom: {
50: '#66936e',
500: '#226737',
950: '#000000',
},
}SCSS
$custom: #226737; $custom-light: #66936e; $custom-dark: #000000;
JSON
{
"hex": "#226737",
"rgb": {
"r": 34,
"g": 103,
"b": 55
},
"hsl": {
"h": 138.261,
"s": 50.365,
"l": 26.863
},
"oklch": {
"l": 0.45769,
"c": 0.10339,
"h": 150.2
},
"luminance": 0.10316
}Semantic roles & 50–950 ramp
primary
#226737
secondary
#9B4A82
accent
#4EAFDA
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A