#228B1E#228B1E
#228B1E is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.171 H 142.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #228B1E |
|---|---|
| RGB | rgb(34, 139, 30) |
| HSL | hsl(118, 64%, 33%) |
| HSV | hsv(118, 78%, 55%) |
| CMYK | cmyk(75.5%, 0%, 78.4%, 45.5%) |
| CIE-LAB | lab(50.57, -49.90, 46.44) |
| CIE-LCH | lch(50.57, 68.17, 137.05°) |
| OKLab | oklab(55.75% -0.1356 0.1042) |
| OKLCH | oklch(55.75% 0.171 142.5) |
| XYZ | xyz(10.1260, 18.8979, 4.3420) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.46
Emerald Green
#028F1E
ΔE00 1.70
True Green
#089404
ΔE00 3.66
Irish Green
#019529
ΔE00 3.66
Kelley Green
#009337
ΔE00 4.30
Green
#008000
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228B1E #871E8B
analogous
#588B1E #228B1E #1E8B50
triadic
#228B1E #1E228B #8B1E22
tetradic
#228B1E #1E588B #871E8B #8B501E
square
#228B1E #1E588B #871E8B #8B501E
split-complementary
#228B1E #501E8B #8B1E58
monochromatic
#092608 #165913 #228B1E #2EBD29 #50D84B
Accessibility & contrast
On white
4.39
#228B1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#228B1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228B1E
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228B1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228B1E | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 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)
#8E7D04
Deuteranopia (green-blind)
#83752A
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #228b1e; /* rgb */ color: rgb(34, 139, 30); /* oklch */ color: oklch(55.8% 0.171 142.5);
Tailwind
colors: {
custom: {
50: '#70ae62',
500: '#228b1e',
950: '#000000',
},
}SCSS
$custom: #228b1e; $custom-light: #70ae62; $custom-dark: #000000;
JSON
{
"hex": "#228b1e",
"rgb": {
"r": 34,
"g": 139,
"b": 30
},
"hsl": {
"h": 117.798,
"s": 64.497,
"l": 33.137
},
"oklch": {
"l": 0.55751,
"c": 0.17108,
"h": 142.5
},
"luminance": 0.18899
}Semantic roles & 50–950 ramp
primary
#228B1E
secondary
#B74ABB
accent
#40E7E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A