#228A2E#228A2E
#228A2E is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.159 H 144.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #228A2E |
|---|---|
| RGB | rgb(34, 138, 46) |
| HSL | hsl(127, 60%, 34%) |
| HSV | hsv(127, 75%, 54%) |
| CMYK | cmyk(75.4%, 0%, 66.7%, 45.9%) |
| CIE-LAB | lab(50.35, -48.07, 39.77) |
| CIE-LCH | lch(50.35, 62.39, 140.40°) |
| OKLab | oklab(55.61% -0.1299 0.0923) |
| OKLCH | oklch(55.61% 0.159 144.6) |
| XYZ | xyz(10.2406, 18.7131, 5.6565) |
| Luminance | 0.1871 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.75
Emerald Green
#028F1E
ΔE00 2.78
Kelley Green
#009337
ΔE00 3.37
Irish Green
#019529
ΔE00 4.00
Tree Green
#2A7E19
ΔE00 4.78
Green
#008000
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228A2E #8A227E
analogous
#4A8A22 #228A2E #228A62
triadic
#228A2E #2E228A #8A2E22
tetradic
#228A2E #224A8A #8A227E #8A6222
square
#228A2E #224A8A #8A227E #8A6222
split-complementary
#228A2E #62228A #8A224A
monochromatic
#0A280D #16591E #228A2E #2EBB3E #52D461
Accessibility & contrast
On white
4.43
#228A2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#228A2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228A2E
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228A2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228A2E | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#817536
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #228a2e; /* rgb */ color: rgb(34, 138, 46); /* oklch */ color: oklch(55.6% 0.159 144.6);
Tailwind
colors: {
custom: {
50: '#6fad6b',
500: '#228a2e',
950: '#000000',
},
}SCSS
$custom: #228a2e; $custom-light: #6fad6b; $custom-dark: #000000;
JSON
{
"hex": "#228a2e",
"rgb": {
"r": 34,
"g": 138,
"b": 46
},
"hsl": {
"h": 126.923,
"s": 60.465,
"l": 33.725
},
"oklch": {
"l": 0.55609,
"c": 0.15937,
"h": 144.6
},
"luminance": 0.18714
}Semantic roles & 50–950 ramp
primary
#228A2E
secondary
#B850AC
accent
#44D1E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A