#228D2E#228D2E
#228D2E is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.163 H 144.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #228D2E |
|---|---|
| RGB | rgb(34, 141, 46) |
| HSL | hsl(127, 61%, 34%) |
| HSV | hsv(127, 76%, 55%) |
| CMYK | cmyk(75.9%, 0%, 67.4%, 44.7%) |
| CIE-LAB | lab(51.37, -49.12, 40.89) |
| CIE-LCH | lch(51.37, 63.91, 140.22°) |
| OKLab | oklab(56.45% -0.1328 0.0947) |
| OKLCH | oklch(56.45% 0.163 144.5) |
| XYZ | xyz(10.6770, 19.5859, 5.8020) |
| Luminance | 0.1959 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.62
Emerald Green
#028F1E
ΔE00 2.12
Kelley Green
#009337
ΔE00 2.57
Irish Green
#019529
ΔE00 2.96
True Green
#089404
ΔE00 4.53
Tree Green
#2A7E19
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228D2E #8D2281
analogous
#4C8D22 #228D2E #228D64
triadic
#228D2E #2E228D #8D2E22
tetradic
#228D2E #224C8D #8D2281 #8D6422
square
#228D2E #224C8D #8D2281 #8D6422
split-complementary
#228D2E #64228D #8D224C
monochromatic
#0A2A0E #165C1E #228D2E #2EBE3E #54D662
Accessibility & contrast
On white
4.27
#228D2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#228D2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228D2E
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228D2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228D2E | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F22
Deuteranopia (green-blind)
#847737
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #228d2e; /* rgb */ color: rgb(34, 141, 46); /* oklch */ color: oklch(56.5% 0.163 144.5);
Tailwind
colors: {
custom: {
50: '#6faf6b',
500: '#228d2e',
950: '#000000',
},
}SCSS
$custom: #228d2e; $custom-light: #6faf6b; $custom-dark: #000000;
JSON
{
"hex": "#228d2e",
"rgb": {
"r": 34,
"g": 141,
"b": 46
},
"hsl": {
"h": 126.729,
"s": 61.143,
"l": 34.314
},
"oklch": {
"l": 0.56452,
"c": 0.16306,
"h": 144.5
},
"luminance": 0.19587
}Semantic roles & 50–950 ramp
primary
#228D2E
secondary
#B951AE
accent
#44D2E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A