#226F40#226F40
#226F40 is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.2% C 0.106 H 152.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #226F40 |
|---|---|
| RGB | rgb(34, 111, 64) |
| HSL | hsl(143, 53%, 28%) |
| HSV | hsv(143, 69%, 44%) |
| CMYK | cmyk(69.4%, 0%, 42.3%, 56.5%) |
| CIE-LAB | lab(41.34, -34.92, 19.52) |
| CIE-LCH | lch(41.34, 40.01, 150.80°) |
| OKLab | oklab(48.24% -0.0943 0.0485) |
| OKLCH | oklch(48.24% 0.106 152.8) |
| XYZ | xyz(7.2689, 12.0784, 6.7978) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.68
Darkish Green
#287C37
ΔE00 6.20
Pine
#2B5D34
ΔE00 6.30
Hunter Green
#355E3B
ΔE00 6.94
Jungle Green
#048243
ΔE00 7.00
Forest Green
#2D5A27
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226F40 #6F2251
analogous
#2A6F22 #226F40 #226F66
triadic
#226F40 #40226F #6F4022
tetradic
#226F40 #222A6F #6F2251 #6F6622
square
#226F40 #222A6F #6F2251 #6F6622
split-complementary
#226F40 #66226F #6F222A
monochromatic
#07170E #144025 #226F40 #309E5B #45C677
Accessibility & contrast
On white
6.15
#226F40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#226F40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226F40
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226F40 | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F663D
Deuteranopia (green-blind)
#655F43
Tritanopia (blue-blind)
#006D63
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #226f40; /* rgb */ color: rgb(34, 111, 64); /* oklch */ color: oklch(48.2% 0.106 152.8);
Tailwind
colors: {
custom: {
50: '#679975',
500: '#226f40',
950: '#000000',
},
}SCSS
$custom: #226f40; $custom-light: #679975; $custom-dark: #000000;
JSON
{
"hex": "#226f40",
"rgb": {
"r": 34,
"g": 111,
"b": 64
},
"hsl": {
"h": 143.377,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.48238,
"c": 0.10605,
"h": 152.8
},
"luminance": 0.12079
}Semantic roles & 50–950 ramp
primary
#226F40
secondary
#A24A80
accent
#4BA4DD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B