#227E1A#227E1A
#227E1A is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.158 H 142.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #227E1A |
|---|---|
| RGB | rgb(34, 126, 26) |
| HSL | hsl(115, 66%, 30%) |
| HSV | hsv(115, 79%, 49%) |
| CMYK | cmyk(73%, 0%, 79.4%, 50.6%) |
| CIE-LAB | lab(46.09, -45.74, 43.46) |
| CIE-LCH | lch(46.09, 63.10, 136.46°) |
| OKLab | oklab(52.03% -0.1246 0.0975) |
| OKLCH | oklch(52.03% 0.158 142) |
| XYZ | xyz(8.3065, 15.3355, 3.4994) |
| Luminance | 0.1534 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.75
Green
#008000
ΔE00 2.18
Dark Grass Green
#388004
ΔE00 3.57
Forestgreen (CSS)
#228B22
ΔE00 4.62
Darkish Green
#287C37
ΔE00 4.72
Emerald Green
#028F1E
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227E1A #761A7E
analogous
#547E1A #227E1A #1A7E44
triadic
#227E1A #1A227E #7E1A22
tetradic
#227E1A #1A547E #761A7E #7E441A
square
#227E1A #1A547E #761A7E #7E441A
split-complementary
#227E1A #441A7E #7E1A54
monochromatic
#071905 #144B10 #227E1A #30B124 #48D73C
Accessibility & contrast
On white
5.16
#227E1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#227E1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227E1A
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227E1A | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817203
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#077A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #227e1a; /* rgb */ color: rgb(34, 126, 26); /* oklch */ color: oklch(52.0% 0.158 142.0);
Tailwind
colors: {
custom: {
50: '#6da45f',
500: '#227e1a',
950: '#000000',
},
}SCSS
$custom: #227e1a; $custom-light: #6da45f; $custom-dark: #000000;
JSON
{
"hex": "#227e1a",
"rgb": {
"r": 34,
"g": 126,
"b": 26
},
"hsl": {
"h": 115.2,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.52026,
"c": 0.15819,
"h": 142
},
"luminance": 0.15336
}Semantic roles & 50–950 ramp
primary
#227E1A
secondary
#A942B2
accent
#3FE9DB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79