#228E1D#228E1D
#228E1D is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.175 H 142.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #228E1D |
|---|---|
| RGB | rgb(34, 142, 29) |
| HSL | hsl(117, 66%, 34%) |
| HSV | hsv(117, 80%, 56%) |
| CMYK | cmyk(76.1%, 0%, 79.6%, 44.3%) |
| CIE-LAB | lab(51.58, -50.97, 47.77) |
| CIE-LCH | lch(51.58, 69.86, 136.86°) |
| OKLab | oklab(56.59% -0.1386 0.1069) |
| OKLCH | oklch(56.59% 0.175 142.4) |
| XYZ | xyz(10.5538, 19.7736, 4.4226) |
| Luminance | 0.1978 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.24
Forestgreen (CSS)
#228B22
ΔE00 1.29
True Green
#089404
ΔE00 2.67
Irish Green
#019529
ΔE00 2.85
Kelley Green
#009337
ΔE00 3.98
Green
#008000
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228E1D #891D8E
analogous
#5A8E1D #228E1D #1D8E50
triadic
#228E1D #1D228E #8E1D22
tetradic
#228E1D #1D5A8E #891D8E #8E501D
square
#228E1D #1D5A8E #891D8E #8E501D
split-complementary
#228E1D #501D8E #8E1D5A
monochromatic
#0A2808 #165B13 #228E1D #2EC127 #51DA4B
Accessibility & contrast
On white
4.24
#228E1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#228E1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228E1D
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228E1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228E1D | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#85782A
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #228e1d; /* rgb */ color: rgb(34, 142, 29); /* oklch */ color: oklch(56.6% 0.175 142.4);
Tailwind
colors: {
custom: {
50: '#70b062',
500: '#228e1d',
950: '#000000',
},
}SCSS
$custom: #228e1d; $custom-light: #70b062; $custom-dark: #000000;
JSON
{
"hex": "#228e1d",
"rgb": {
"r": 34,
"g": 142,
"b": 29
},
"hsl": {
"h": 117.345,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.56591,
"c": 0.17501,
"h": 142.4
},
"luminance": 0.19775
}Semantic roles & 50–950 ramp
primary
#228E1D
secondary
#B84ABD
accent
#3FE9E1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A