#226E2A#226E2A
#226E2A is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.126 H 144.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #226E2A |
|---|---|
| RGB | rgb(34, 110, 42) |
| HSL | hsl(126, 53%, 28%) |
| HSV | hsv(126, 69%, 43%) |
| CMYK | cmyk(69.1%, 0%, 61.8%, 56.9%) |
| CIE-LAB | lab(40.67, -38.20, 30.72) |
| CIE-LCH | lch(40.67, 49.02, 141.19°) |
| OKLab | oklab(47.58% -0.1033 0.0726) |
| OKLCH | oklch(47.58% 0.126 144.9) |
| XYZ | xyz(6.6531, 11.6584, 4.0897) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.87
Darkgreen
#006400
ΔE00 5.54
Tree Green
#2A7E19
ΔE00 7.02
Deep Green
#02590F
ΔE00 7.17
Forest Green
#2D5A27
ΔE00 7.23
Jungle Green
#048243
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226E2A #6E2266
analogous
#406E22 #226E2A #226E50
triadic
#226E2A #2A226E #6E2A22
tetradic
#226E2A #22406E #6E2266 #6E5022
square
#226E2A #22406E #6E2266 #6E5022
split-complementary
#226E2A #50226E #6E2240
monochromatic
#071709 #143F18 #226E2A #309D3C #45C552
Accessibility & contrast
On white
6.30
#226E2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#226E2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226E2A
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226E2A | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706423
Deuteranopia (green-blind)
#675D2F
Tritanopia (blue-blind)
#0D6B5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #226e2a; /* rgb */ color: rgb(34, 110, 42); /* oklch */ color: oklch(47.6% 0.126 144.9);
Tailwind
colors: {
custom: {
50: '#689866',
500: '#226e2a',
950: '#000000',
},
}SCSS
$custom: #226e2a; $custom-light: #689866; $custom-dark: #000000;
JSON
{
"hex": "#226e2a",
"rgb": {
"r": 34,
"g": 110,
"b": 42
},
"hsl": {
"h": 126.316,
"s": 52.778,
"l": 28.235
},
"oklch": {
"l": 0.47577,
"c": 0.12626,
"h": 144.9
},
"luminance": 0.11659
}Semantic roles & 50–950 ramp
primary
#226E2A
secondary
#A14A98
accent
#4CCDDC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A