#226E40#226E40
#226E40 is a mid, moderate green. Relative luminance 0.119; OKLCH L 48.0% C 0.105 H 153.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #226E40 |
|---|---|
| RGB | rgb(34, 110, 64) |
| HSL | hsl(144, 53%, 28%) |
| HSV | hsv(144, 69%, 43%) |
| CMYK | cmyk(69.1%, 0%, 41.8%, 56.9%) |
| CIE-LAB | lab(40.99, -34.50, 19.07) |
| CIE-LCH | lch(40.99, 39.41, 151.07°) |
| OKLab | oklab(47.95% -0.0932 0.0474) |
| OKLCH | oklch(47.95% 0.105 153) |
| XYZ | xyz(7.1604, 11.8614, 6.7616) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.33
Pine
#2B5D34
ΔE00 5.98
Darkish Green
#287C37
ΔE00 6.57
Hunter Green
#355E3B
ΔE00 6.62
Jungle Green
#048243
ΔE00 7.37
Forest Green
#2D5A27
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226E40 #6E2250
analogous
#2A6E22 #226E40 #226E66
triadic
#226E40 #40226E #6E4022
tetradic
#226E40 #222A6E #6E2250 #6E6622
square
#226E40 #222A6E #6E2250 #6E6622
split-complementary
#226E40 #66226E #6E222A
monochromatic
#07170E #143F25 #226E40 #309D5B #45C578
Accessibility & contrast
On white
6.23
#226E40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#226E40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226E40
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226E40 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E653D
Deuteranopia (green-blind)
#645E43
Tritanopia (blue-blind)
#006D63
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #226e40; /* rgb */ color: rgb(34, 110, 64); /* oklch */ color: oklch(48.0% 0.105 153.0);
Tailwind
colors: {
custom: {
50: '#679875',
500: '#226e40',
950: '#000000',
},
}SCSS
$custom: #226e40; $custom-light: #679875; $custom-dark: #000000;
JSON
{
"hex": "#226e40",
"rgb": {
"r": 34,
"g": 110,
"b": 64
},
"hsl": {
"h": 143.684,
"s": 52.778,
"l": 28.235
},
"oklch": {
"l": 0.47954,
"c": 0.10457,
"h": 153
},
"luminance": 0.11862
}Semantic roles & 50–950 ramp
primary
#226E40
secondary
#A14A7F
accent
#4CA3DC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B