#228B1A#228B1A
#228B1A is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.173 H 142.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #228B1A |
|---|---|
| RGB | rgb(34, 139, 26) |
| HSL | hsl(116, 68%, 32%) |
| HSV | hsv(116, 81%, 55%) |
| CMYK | cmyk(75.5%, 0%, 81.3%, 45.5%) |
| CIE-LAB | lab(50.55, -50.18, 47.75) |
| CIE-LCH | lch(50.55, 69.27, 136.42°) |
| OKLab | oklab(55.73% -0.1366 0.1064) |
| OKLCH | oklch(55.73% 0.173 142.1) |
| XYZ | xyz(10.0782, 18.8788, 4.0899) |
| Luminance | 0.1888 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.88
Emerald Green
#028F1E
ΔE00 1.81
True Green
#089404
ΔE00 3.46
Irish Green
#019529
ΔE00 3.81
Green
#008000
ΔE00 4.33
Kelley Green
#009337
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228B1A #831A8B
analogous
#5B8B1A #228B1A #1A8B4A
triadic
#228B1A #1A228B #8B1A22
tetradic
#228B1A #1A5B8B #831A8B #8B4A1A
square
#228B1A #1A5B8B #831A8B #8B4A1A
split-complementary
#228B1A #4A1A8B #8B1A5B
monochromatic
#092407 #155710 #228B1A #2FBF24 #4EDC43
Accessibility & contrast
On white
4.40
#228B1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#228B1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228B1A
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228B1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228B1A | 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)
#837528
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #228b1a; /* rgb */ color: rgb(34, 139, 26); /* oklch */ color: oklch(55.7% 0.173 142.1);
Tailwind
colors: {
custom: {
50: '#70ae61',
500: '#228b1a',
950: '#000000',
},
}SCSS
$custom: #228b1a; $custom-light: #70ae61; $custom-dark: #000000;
JSON
{
"hex": "#228b1a",
"rgb": {
"r": 34,
"g": 139,
"b": 26
},
"hsl": {
"h": 115.752,
"s": 68.485,
"l": 32.353
},
"oklch": {
"l": 0.55725,
"c": 0.17314,
"h": 142.1
},
"luminance": 0.1888
}Semantic roles & 50–950 ramp
primary
#228B1A
secondary
#B444BD
accent
#3CEBDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A