#228B19#228B19
#228B19 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.174 H 142.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #228B19 |
|---|---|
| RGB | rgb(34, 139, 25) |
| HSL | hsl(115, 70%, 32%) |
| HSV | hsv(115, 82%, 55%) |
| CMYK | cmyk(75.5%, 0%, 82%, 45.5%) |
| CIE-LAB | lab(50.54, -50.24, 48.06) |
| CIE-LCH | lch(50.54, 69.53, 136.27°) |
| OKLab | oklab(55.72% -0.1368 0.1069) |
| OKLCH | oklch(55.72% 0.174 142) |
| XYZ | xyz(10.0672, 18.8744, 4.0321) |
| Luminance | 0.1888 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.98
Emerald Green
#028F1E
ΔE00 1.84
True Green
#089404
ΔE00 3.42
Irish Green
#019529
ΔE00 3.85
Green
#008000
ΔE00 4.32
Tree Green
#2A7E19
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228B19 #82198B
analogous
#5B8B19 #228B19 #198B49
triadic
#228B19 #19228B #8B1922
tetradic
#228B19 #195B8B #82198B #8B4919
square
#228B19 #195B8B #82198B #8B4919
split-complementary
#228B19 #49198B #8B195B
monochromatic
#092306 #155710 #228B19 #2FBF22 #4EDD41
Accessibility & contrast
On white
4.40
#228B19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#228B19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228B19
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228B19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228B19 | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #228b19; /* rgb */ color: rgb(34, 139, 25); /* oklch */ color: oklch(55.7% 0.174 142.0);
Tailwind
colors: {
custom: {
50: '#70ae60',
500: '#228b19',
950: '#000000',
},
}SCSS
$custom: #228b19; $custom-light: #70ae60; $custom-dark: #000000;
JSON
{
"hex": "#228b19",
"rgb": {
"r": 34,
"g": 139,
"b": 25
},
"hsl": {
"h": 115.263,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.55719,
"c": 0.17362,
"h": 142
},
"luminance": 0.18876
}Semantic roles & 50–950 ramp
primary
#228B19
secondary
#B442BE
accent
#3BECDE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79