#227F19#227F19
#227F19 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.160 H 141.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #227F19 |
|---|---|
| RGB | rgb(34, 127, 25) |
| HSL | hsl(115, 67%, 30%) |
| HSV | hsv(115, 80%, 50%) |
| CMYK | cmyk(73.2%, 0%, 80.3%, 50.2%) |
| CIE-LAB | lab(46.43, -46.16, 44.14) |
| CIE-LCH | lch(46.43, 63.87, 136.28°) |
| OKLab | oklab(52.31% -0.1258 0.0987) |
| OKLCH | oklch(52.31% 0.16 141.9) |
| XYZ | xyz(8.4240, 15.5881, 3.4844) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.74
Green
#008000
ΔE00 1.98
Dark Grass Green
#388004
ΔE00 3.36
Forestgreen (CSS)
#228B22
ΔE00 4.27
Darkish Green
#287C37
ΔE00 4.95
Emerald Green
#028F1E
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227F19 #76197F
analogous
#557F19 #227F19 #197F43
triadic
#227F19 #19227F #7F1922
tetradic
#227F19 #19557F #76197F #7F4319
square
#227F19 #19557F #76197F #7F4319
split-complementary
#227F19 #43197F #7F1955
monochromatic
#071A05 #144C0F #227F19 #30B223 #48D83A
Accessibility & contrast
On white
5.10
#227F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#227F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227F19
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227F19 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B25
Tritanopia (blue-blind)
#077B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #227f19; /* rgb */ color: rgb(34, 127, 25); /* oklch */ color: oklch(52.3% 0.160 141.9);
Tailwind
colors: {
custom: {
50: '#6da55e',
500: '#227f19',
950: '#000000',
},
}SCSS
$custom: #227f19; $custom-light: #6da55e; $custom-dark: #000000;
JSON
{
"hex": "#227f19",
"rgb": {
"r": 34,
"g": 127,
"b": 25
},
"hsl": {
"h": 114.706,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.52305,
"c": 0.1599,
"h": 141.9
},
"luminance": 0.15589
}Semantic roles & 50–950 ramp
primary
#227F19
secondary
#A941B3
accent
#3EEADB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79