#226F2A#226F2A
#226F2A is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.128 H 144.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #226F2A |
|---|---|
| RGB | rgb(34, 111, 42) |
| HSL | hsl(126, 53%, 28%) |
| HSV | hsv(126, 69%, 44%) |
| CMYK | cmyk(69.4%, 0%, 62.2%, 56.5%) |
| CIE-LAB | lab(41.02, -38.59, 31.13) |
| CIE-LCH | lch(41.02, 49.58, 141.11°) |
| OKLab | oklab(47.87% -0.1044 0.0734) |
| OKLCH | oklch(47.87% 0.128 144.9) |
| XYZ | xyz(6.7616, 11.8754, 4.1259) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.56
Darkgreen
#006400
ΔE00 5.65
Tree Green
#2A7E19
ΔE00 6.68
Jungle Green
#048243
ΔE00 7.32
Deep Green
#02590F
ΔE00 7.45
Forest Green
#2D5A27
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226F2A #6F2267
analogous
#406F22 #226F2A #226F50
triadic
#226F2A #2A226F #6F2A22
tetradic
#226F2A #22406F #6F2267 #6F5022
square
#226F2A #22406F #6F2267 #6F5022
split-complementary
#226F2A #50226F #6F2240
monochromatic
#071709 #144018 #226F2A #309E3C #45C653
Accessibility & contrast
On white
6.22
#226F2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#226F2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226F2A
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226F2A | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716523
Deuteranopia (green-blind)
#685E30
Tritanopia (blue-blind)
#0C6C60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #226f2a; /* rgb */ color: rgb(34, 111, 42); /* oklch */ color: oklch(47.9% 0.128 144.9);
Tailwind
colors: {
custom: {
50: '#689966',
500: '#226f2a',
950: '#000000',
},
}SCSS
$custom: #226f2a; $custom-light: #689966; $custom-dark: #000000;
JSON
{
"hex": "#226f2a",
"rgb": {
"r": 34,
"g": 111,
"b": 42
},
"hsl": {
"h": 126.234,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.47866,
"c": 0.12764,
"h": 144.9
},
"luminance": 0.11876
}Semantic roles & 50–950 ramp
primary
#226F2A
secondary
#A24A99
accent
#4BCDDD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A