#226836#226836
#226836 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.0% C 0.106 H 149.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #226836 |
|---|---|
| RGB | rgb(34, 104, 54) |
| HSL | hsl(137, 51%, 27%) |
| HSV | hsv(137, 67%, 41%) |
| CMYK | cmyk(67.3%, 0%, 48.1%, 59.2%) |
| CIE-LAB | lab(38.74, -33.85, 21.87) |
| CIE-LCH | lch(38.74, 40.30, 147.13°) |
| OKLab | oklab(46.04% -0.0913 0.0536) |
| OKLCH | oklch(46.04% 0.106 149.6) |
| XYZ | xyz(6.2754, 10.5064, 5.1865) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.23
Spruce
#0A5F38
ΔE00 4.38
Forest Green
#2D5A27
ΔE00 5.48
Hunter Green
#355E3B
ΔE00 5.53
Deep Green
#02590F
ΔE00 7.28
Darkish Green
#287C37
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226836 #682254
analogous
#316822 #226836 #226859
triadic
#226836 #362268 #683622
tetradic
#226836 #223168 #682254 #685922
square
#226836 #223168 #682254 #685922
split-complementary
#226836 #592268 #682231
monochromatic
#08170C #133A1E #226836 #31964E #43C267
Accessibility & contrast
On white
6.77
#226836 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#226836 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226836
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226836 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226836 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695F32
Deuteranopia (green-blind)
#605939
Tritanopia (blue-blind)
#09665C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #226836; /* rgb */ color: rgb(34, 104, 54); /* oklch */ color: oklch(46.0% 0.106 149.6);
Tailwind
colors: {
custom: {
50: '#66946e',
500: '#226836',
950: '#000000',
},
}SCSS
$custom: #226836; $custom-light: #66946e; $custom-dark: #000000;
JSON
{
"hex": "#226836",
"rgb": {
"r": 34,
"g": 104,
"b": 54
},
"hsl": {
"h": 137.143,
"s": 50.725,
"l": 27.059
},
"oklch": {
"l": 0.46038,
"c": 0.10593,
"h": 149.6
},
"luminance": 0.10507
}Semantic roles & 50–950 ramp
primary
#226836
secondary
#9C4A84
accent
#4EB2DA
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A