#226C38#226C38
#226C38 is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.2% C 0.110 H 149.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #226C38 |
|---|---|
| RGB | rgb(34, 108, 56) |
| HSL | hsl(138, 52%, 28%) |
| HSV | hsv(138, 69%, 42%) |
| CMYK | cmyk(68.5%, 0%, 48.1%, 57.6%) |
| CIE-LAB | lab(40.16, -35.18, 22.56) |
| CIE-LCH | lch(40.16, 41.79, 147.32°) |
| OKLab | oklab(47.22% -0.0949 0.0553) |
| OKLCH | oklch(47.22% 0.11 149.8) |
| XYZ | xyz(6.7355, 11.3500, 5.5764) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.44
Pine
#2B5D34
ΔE00 5.51
Darkish Green
#287C37
ΔE00 6.15
Hunter Green
#355E3B
ΔE00 6.57
Forest Green
#2D5A27
ΔE00 6.63
Jungle Green
#048243
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226C38 #6C2256
analogous
#316C22 #226C38 #226C5D
triadic
#226C38 #38226C #6C3822
tetradic
#226C38 #22316C #6C2256 #6C5D22
square
#226C38 #22316C #6C2256 #6C5D22
split-complementary
#226C38 #5D226C #6C2231
monochromatic
#07170C #133D20 #226C38 #319B50 #44C46A
Accessibility & contrast
On white
6.42
#226C38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#226C38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226C38
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226C38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226C38 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6334
Deuteranopia (green-blind)
#635C3C
Tritanopia (blue-blind)
#056A60
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #226c38; /* rgb */ color: rgb(34, 108, 56); /* oklch */ color: oklch(47.2% 0.110 149.8);
Tailwind
colors: {
custom: {
50: '#67976f',
500: '#226c38',
950: '#000000',
},
}SCSS
$custom: #226c38; $custom-light: #67976f; $custom-dark: #000000;
JSON
{
"hex": "#226c38",
"rgb": {
"r": 34,
"g": 108,
"b": 56
},
"hsl": {
"h": 137.838,
"s": 52.113,
"l": 27.843
},
"oklch": {
"l": 0.47224,
"c": 0.10983,
"h": 149.8
},
"luminance": 0.11351
}Semantic roles & 50–950 ramp
primary
#226C38
secondary
#A04A86
accent
#4CB1DC
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060D07
muted
#7A7E7A