#228C1C#228C1C
#228C1C is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.173 H 142.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #228C1C |
|---|---|
| RGB | rgb(34, 140, 28) |
| HSL | hsl(117, 67%, 33%) |
| HSV | hsv(117, 80%, 55%) |
| CMYK | cmyk(75.7%, 0%, 80%, 45.1%) |
| CIE-LAB | lab(50.90, -50.38, 47.44) |
| CIE-LCH | lch(50.90, 69.20, 136.72°) |
| OKLab | oklab(56.02% -0.137 0.106) |
| OKLCH | oklch(56.02% 0.173 142.3) |
| XYZ | xyz(10.2468, 19.1789, 4.2603) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.81
Emerald Green
#028F1E
ΔE00 1.52
True Green
#089404
ΔE00 3.23
Irish Green
#019529
ΔE00 3.44
Kelley Green
#009337
ΔE00 4.30
Green
#008000
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228C1C #861C8C
analogous
#5A8C1C #228C1C #1C8C4E
triadic
#228C1C #1C228C #8C1C22
tetradic
#228C1C #1C5A8C #861C8C #8C4E1C
square
#228C1C #1C5A8C #861C8C #8C4E1C
split-complementary
#228C1C #4E1C8C #8C1C5A
monochromatic
#092608 #165912 #228C1C #2EBF26 #50DA48
Accessibility & contrast
On white
4.34
#228C1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#228C1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228C1C
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228C1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228C1C | 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)
#8F7E00
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #228c1c; /* rgb */ color: rgb(34, 140, 28); /* oklch */ color: oklch(56.0% 0.173 142.3);
Tailwind
colors: {
custom: {
50: '#70af62',
500: '#228c1c',
950: '#000000',
},
}SCSS
$custom: #228c1c; $custom-light: #70af62; $custom-dark: #000000;
JSON
{
"hex": "#228c1c",
"rgb": {
"r": 34,
"g": 140,
"b": 28
},
"hsl": {
"h": 116.786,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.5602,
"c": 0.17328,
"h": 142.3
},
"luminance": 0.1918
}Semantic roles & 50–950 ramp
primary
#228C1C
secondary
#B648BC
accent
#3EEAE0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A