#228C1D#228C1D
#228C1D is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.173 H 142.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #228C1D |
|---|---|
| RGB | rgb(34, 140, 29) |
| HSL | hsl(117, 66%, 33%) |
| HSV | hsv(117, 79%, 55%) |
| CMYK | cmyk(75.7%, 0%, 79.3%, 45.1%) |
| CIE-LAB | lab(50.90, -50.31, 47.11) |
| CIE-LCH | lch(50.90, 68.92, 136.88°) |
| OKLab | oklab(56.03% -0.1368 0.1055) |
| OKLCH | oklch(56.03% 0.173 142.4) |
| XYZ | xyz(10.2589, 19.1838, 4.3243) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.72
Emerald Green
#028F1E
ΔE00 1.49
True Green
#089404
ΔE00 3.28
Irish Green
#019529
ΔE00 3.40
Kelley Green
#009337
ΔE00 4.22
Green
#008000
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228C1D #871D8C
analogous
#598C1D #228C1D #1D8C4F
triadic
#228C1D #1D228C #8C1D22
tetradic
#228C1D #1D598C #871D8C #8C4F1D
square
#228C1D #1D598C #871D8C #8C4F1D
split-complementary
#228C1D #4F1D8C #8C1D59
monochromatic
#092708 #165912 #228C1D #2EBF28 #50D94A
Accessibility & contrast
On white
4.34
#228C1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#228C1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228C1D
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228C1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228C1D | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E01
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #228c1d; /* rgb */ color: rgb(34, 140, 29); /* oklch */ color: oklch(56.0% 0.173 142.4);
Tailwind
colors: {
custom: {
50: '#70af62',
500: '#228c1d',
950: '#000000',
},
}SCSS
$custom: #228c1d; $custom-light: #70af62; $custom-dark: #000000;
JSON
{
"hex": "#228c1d",
"rgb": {
"r": 34,
"g": 140,
"b": 29
},
"hsl": {
"h": 117.297,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.56027,
"c": 0.17275,
"h": 142.4
},
"luminance": 0.19185
}Semantic roles & 50–950 ramp
primary
#228C1D
secondary
#B749BC
accent
#3FE9E1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A