#228B2E#228B2E
#228B2E is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.161 H 144.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #228B2E |
|---|---|
| RGB | rgb(34, 139, 46) |
| HSL | hsl(127, 61%, 34%) |
| HSV | hsv(127, 76%, 55%) |
| CMYK | cmyk(75.5%, 0%, 66.9%, 45.5%) |
| CIE-LAB | lab(50.69, -48.42, 40.14) |
| CIE-LCH | lch(50.69, 62.90, 140.34°) |
| OKLab | oklab(55.89% -0.1309 0.0931) |
| OKLCH | oklch(55.89% 0.161 144.6) |
| XYZ | xyz(10.3848, 19.0014, 5.7046) |
| Luminance | 0.1900 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.63
Emerald Green
#028F1E
ΔE00 2.53
Kelley Green
#009337
ΔE00 3.08
Irish Green
#019529
ΔE00 3.65
True Green
#089404
ΔE00 5.06
Tree Green
#2A7E19
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228B2E #8B227F
analogous
#4B8B22 #228B2E #228B63
triadic
#228B2E #2E228B #8B2E22
tetradic
#228B2E #224B8B #8B227F #8B6322
square
#228B2E #224B8B #8B227F #8B6322
split-complementary
#228B2E #63228B #8B224B
monochromatic
#0A290D #165A1E #228B2E #2EBC3E #53D561
Accessibility & contrast
On white
4.37
#228B2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#228B2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228B2E
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228B2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228B2E | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E22
Deuteranopia (green-blind)
#827536
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #228b2e; /* rgb */ color: rgb(34, 139, 46); /* oklch */ color: oklch(55.9% 0.161 144.6);
Tailwind
colors: {
custom: {
50: '#6fae6b',
500: '#228b2e',
950: '#000000',
},
}SCSS
$custom: #228b2e; $custom-light: #6fae6b; $custom-dark: #000000;
JSON
{
"hex": "#228b2e",
"rgb": {
"r": 34,
"g": 139,
"b": 46
},
"hsl": {
"h": 126.857,
"s": 60.694,
"l": 33.922
},
"oklch": {
"l": 0.55891,
"c": 0.16061,
"h": 144.6
},
"luminance": 0.19003
}Semantic roles & 50–950 ramp
primary
#228B2E
secondary
#B850AD
accent
#44D2E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A