#227E10#227E10
#227E10 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.163 H 141.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #227E10 |
|---|---|
| RGB | rgb(34, 126, 16) |
| HSL | hsl(110, 77%, 28%) |
| HSV | hsv(110, 87%, 49%) |
| CMYK | cmyk(73%, 0%, 87.3%, 50.6%) |
| CIE-LAB | lab(46.04, -46.36, 46.49) |
| CIE-LCH | lch(46.04, 65.65, 134.92°) |
| OKLab | oklab(51.97% -0.1267 0.1023) |
| OKLCH | oklch(51.97% 0.163 141.1) |
| XYZ | xyz(8.2136, 15.2983, 3.0101) |
| Luminance | 0.1530 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.89
Green
#008000
ΔE00 1.62
Dark Grass Green
#388004
ΔE00 2.85
Forestgreen (CSS)
#228B22
ΔE00 4.74
Darkish Green
#287C37
ΔE00 5.69
Emerald Green
#028F1E
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227E10 #6C107E
analogous
#597E10 #227E10 #107E35
triadic
#227E10 #10227E #7E1022
tetradic
#227E10 #10597E #6C107E #7E3510
square
#227E10 #10597E #6C107E #7E3510
split-complementary
#227E10 #35107E #7E1059
monochromatic
#071B03 #134809 #227E10 #31B417 #44E325
Accessibility & contrast
On white
5.17
#227E10 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#227E10 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227E10
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227E10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227E10 | 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)
#776A1F
Tritanopia (blue-blind)
#0A7A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #227e10; /* rgb */ color: rgb(34, 126, 16); /* oklch */ color: oklch(52.0% 0.163 141.1);
Tailwind
colors: {
custom: {
50: '#6da45b',
500: '#227e10',
950: '#000000',
},
}SCSS
$custom: #227e10; $custom-light: #6da45b; $custom-dark: #000000;
JSON
{
"hex": "#227e10",
"rgb": {
"r": 34,
"g": 126,
"b": 16
},
"hsl": {
"h": 110.182,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.51968,
"c": 0.16288,
"h": 141.1
},
"luminance": 0.15299
}Semantic roles & 50–950 ramp
primary
#227E10
secondary
#A036B4
accent
#34F4D5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79