#228819#228819
#228819 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.170 H 142.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #228819 |
|---|---|
| RGB | rgb(34, 136, 25) |
| HSL | hsl(115, 69%, 32%) |
| HSV | hsv(115, 82%, 53%) |
| CMYK | cmyk(75%, 0%, 81.6%, 46.7%) |
| CIE-LAB | lab(49.52, -49.24, 47.09) |
| CIE-LCH | lch(49.52, 68.13, 136.27°) |
| OKLab | oklab(54.87% -0.1341 0.1049) |
| OKLCH | oklch(54.87% 0.17 142) |
| XYZ | xyz(9.6388, 18.0175, 3.8893) |
| Luminance | 0.1802 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.34
Emerald Green
#028F1E
ΔE00 2.65
Green
#008000
ΔE00 3.37
Tree Green
#2A7E19
ΔE00 3.56
Dark Grass Green
#388004
ΔE00 3.94
True Green
#089404
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228819 #7F1988
analogous
#5A8819 #228819 #198848
triadic
#228819 #192288 #881922
tetradic
#228819 #195A88 #7F1988 #884819
square
#228819 #195A88 #7F1988 #884819
split-complementary
#228819 #481988 #88195A
monochromatic
#082106 #15540F #228819 #2FBC23 #4CDC40
Accessibility & contrast
On white
4.56
#228819 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#228819 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228819
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228819 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228819 | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #228819; /* rgb */ color: rgb(34, 136, 25); /* oklch */ color: oklch(54.9% 0.170 142.0);
Tailwind
colors: {
custom: {
50: '#6fac60',
500: '#228819',
950: '#000000',
},
}SCSS
$custom: #228819; $custom-light: #6fac60; $custom-dark: #000000;
JSON
{
"hex": "#228819",
"rgb": {
"r": 34,
"g": 136,
"b": 25
},
"hsl": {
"h": 115.135,
"s": 68.944,
"l": 31.569
},
"oklch": {
"l": 0.5487,
"c": 0.17023,
"h": 142
},
"luminance": 0.18019
}Semantic roles & 50–950 ramp
primary
#228819
secondary
#B241BB
accent
#3CECDE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79