#227E19#227E19
#227E19 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.159 H 141.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #227E19 |
|---|---|
| RGB | rgb(34, 126, 25) |
| HSL | hsl(115, 67%, 30%) |
| HSV | hsv(115, 80%, 49%) |
| CMYK | cmyk(73%, 0%, 80.2%, 50.6%) |
| CIE-LAB | lab(46.08, -45.82, 43.81) |
| CIE-LCH | lch(46.08, 63.39, 136.28°) |
| OKLab | oklab(52.02% -0.1248 0.098) |
| OKLCH | oklch(52.02% 0.159 141.9) |
| XYZ | xyz(8.2955, 15.3311, 3.4415) |
| Luminance | 0.1533 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.70
Green
#008000
ΔE00 2.10
Dark Grass Green
#388004
ΔE00 3.48
Forestgreen (CSS)
#228B22
ΔE00 4.62
Darkish Green
#287C37
ΔE00 4.83
Emerald Green
#028F1E
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227E19 #75197E
analogous
#557E19 #227E19 #197E42
triadic
#227E19 #19227E #7E1922
tetradic
#227E19 #19557E #75197E #7E4219
square
#227E19 #19557E #75197E #7E4219
split-complementary
#227E19 #42197E #7E1955
monochromatic
#071A05 #144B0F #227E19 #30B123 #48D83A
Accessibility & contrast
On white
5.16
#227E19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#227E19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227E19
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227E19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227E19 | 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)
#817200
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#087A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #227e19; /* rgb */ color: rgb(34, 126, 25); /* oklch */ color: oklch(52.0% 0.159 141.9);
Tailwind
colors: {
custom: {
50: '#6da45e',
500: '#227e19',
950: '#000000',
},
}SCSS
$custom: #227e19; $custom-light: #6da45e; $custom-dark: #000000;
JSON
{
"hex": "#227e19",
"rgb": {
"r": 34,
"g": 126,
"b": 25
},
"hsl": {
"h": 114.653,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.52019,
"c": 0.15873,
"h": 141.9
},
"luminance": 0.15332
}Semantic roles & 50–950 ramp
primary
#227E19
secondary
#A841B2
accent
#3EEADA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79