#227E16#227E16
#227E16 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.160 H 141.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #227E16 |
|---|---|
| RGB | rgb(34, 126, 22) |
| HSL | hsl(113, 70%, 29%) |
| HSV | hsv(113, 83%, 49%) |
| CMYK | cmyk(73%, 0%, 82.5%, 50.6%) |
| CIE-LAB | lab(46.07, -46.02, 44.78) |
| CIE-LCH | lch(46.07, 64.21, 135.78°) |
| OKLab | oklab(52% -0.1255 0.0996) |
| OKLCH | oklch(52% 0.16 141.6) |
| XYZ | xyz(8.2649, 15.3188, 3.2802) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.65
Green
#008000
ΔE00 1.89
Dark Grass Green
#388004
ΔE00 3.24
Forestgreen (CSS)
#228B22
ΔE00 4.64
Darkish Green
#287C37
ΔE00 5.14
Emerald Green
#028F1E
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227E16 #72167E
analogous
#567E16 #227E16 #167E3E
triadic
#227E16 #16227E #7E1622
tetradic
#227E16 #16567E #72167E #7E3E16
square
#227E16 #16567E #72167E #7E3E16
split-complementary
#227E16 #3E167E #7E1656
monochromatic
#071A05 #144A0D #227E16 #30B21F #46DB33
Accessibility & contrast
On white
5.17
#227E16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#227E16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227E16
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227E16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227E16 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#097A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #227e16; /* rgb */ color: rgb(34, 126, 22); /* oklch */ color: oklch(52.0% 0.160 141.6);
Tailwind
colors: {
custom: {
50: '#6da45d',
500: '#227e16',
950: '#000000',
},
}SCSS
$custom: #227e16; $custom-light: #6da45d; $custom-dark: #000000;
JSON
{
"hex": "#227e16",
"rgb": {
"r": 34,
"g": 126,
"b": 22
},
"hsl": {
"h": 113.077,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.52,
"c": 0.16026,
"h": 141.6
},
"luminance": 0.1532
}Semantic roles & 50–950 ramp
primary
#227E16
secondary
#A53DB3
accent
#3BEDD8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79