#228C2E#228C2E
#228C2E is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.162 H 144.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #228C2E |
|---|---|
| RGB | rgb(34, 140, 46) |
| HSL | hsl(127, 61%, 34%) |
| HSV | hsv(127, 76%, 55%) |
| CMYK | cmyk(75.7%, 0%, 67.1%, 45.1%) |
| CIE-LAB | lab(51.03, -48.77, 40.52) |
| CIE-LCH | lch(51.03, 63.40, 140.28°) |
| OKLab | oklab(56.17% -0.1318 0.0939) |
| OKLCH | oklch(56.17% 0.162 144.5) |
| XYZ | xyz(10.5302, 19.2923, 5.7531) |
| Luminance | 0.1929 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.58
Emerald Green
#028F1E
ΔE00 2.30
Kelley Green
#009337
ΔE00 2.82
Irish Green
#019529
ΔE00 3.30
True Green
#089404
ΔE00 4.79
Tree Green
#2A7E19
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228C2E #8C2280
analogous
#4B8C22 #228C2E #228C63
triadic
#228C2E #2E228C #8C2E22
tetradic
#228C2E #224B8C #8C2280 #8C6322
square
#228C2E #224B8C #8C2280 #8C6322
split-complementary
#228C2E #63228C #8C224B
monochromatic
#0A2A0E #165B1E #228C2E #2EBD3E #53D562
Accessibility & contrast
On white
4.32
#228C2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#228C2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228C2E
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228C2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228C2E | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#837636
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #228c2e; /* rgb */ color: rgb(34, 140, 46); /* oklch */ color: oklch(56.2% 0.162 144.5);
Tailwind
colors: {
custom: {
50: '#6faf6b',
500: '#228c2e',
950: '#000000',
},
}SCSS
$custom: #228c2e; $custom-light: #6faf6b; $custom-dark: #000000;
JSON
{
"hex": "#228c2e",
"rgb": {
"r": 34,
"g": 140,
"b": 46
},
"hsl": {
"h": 126.792,
"s": 60.92,
"l": 34.118
},
"oklch": {
"l": 0.56172,
"c": 0.16182,
"h": 144.5
},
"luminance": 0.19294
}Semantic roles & 50–950 ramp
primary
#228C2E
secondary
#B951AD
accent
#44D2E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A