#226838#226838
#226838 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.1% C 0.104 H 150.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #226838 |
|---|---|
| RGB | rgb(34, 104, 56) |
| HSL | hsl(139, 51%, 27%) |
| HSV | hsv(139, 67%, 41%) |
| CMYK | cmyk(67.3%, 0%, 46.2%, 59.2%) |
| CIE-LAB | lab(38.77, -33.48, 20.77) |
| CIE-LCH | lch(38.77, 39.40, 148.18°) |
| OKLab | oklab(46.08% -0.0904 0.0512) |
| OKLCH | oklch(46.08% 0.104 150.5) |
| XYZ | xyz(6.3233, 10.5256, 5.4390) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.07
Pine
#2B5D34
ΔE00 4.12
Hunter Green
#355E3B
ΔE00 5.31
Forest Green
#2D5A27
ΔE00 5.67
Deep Green
#02590F
ΔE00 7.65
Darkish Green
#287C37
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226838 #682252
analogous
#2F6822 #226838 #22685B
triadic
#226838 #382268 #683822
tetradic
#226838 #222F68 #682252 #685B22
square
#226838 #222F68 #682252 #685B22
split-complementary
#226838 #5B2268 #68222F
monochromatic
#08170C #133A1F #226838 #319651 #43C26B
Accessibility & contrast
On white
6.76
#226838 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#226838 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226838
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226838 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695F34
Deuteranopia (green-blind)
#60593B
Tritanopia (blue-blind)
#08665C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #226838; /* rgb */ color: rgb(34, 104, 56); /* oklch */ color: oklch(46.1% 0.104 150.5);
Tailwind
colors: {
custom: {
50: '#66946f',
500: '#226838',
950: '#000000',
},
}SCSS
$custom: #226838; $custom-light: #66946f; $custom-dark: #000000;
JSON
{
"hex": "#226838",
"rgb": {
"r": 34,
"g": 104,
"b": 56
},
"hsl": {
"h": 138.857,
"s": 50.725,
"l": 27.059
},
"oklch": {
"l": 0.46076,
"c": 0.10386,
"h": 150.5
},
"luminance": 0.10526
}Semantic roles & 50–950 ramp
primary
#226838
secondary
#9C4A82
accent
#4EAEDA
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A