#228D1C#228D1C
#228D1C is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.174 H 142.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #228D1C |
|---|---|
| RGB | rgb(34, 141, 28) |
| HSL | hsl(117, 67%, 33%) |
| HSV | hsv(117, 80%, 55%) |
| CMYK | cmyk(75.9%, 0%, 80.1%, 44.7%) |
| CIE-LAB | lab(51.24, -50.71, 47.77) |
| CIE-LCH | lch(51.24, 69.66, 136.71°) |
| OKLab | oklab(56.3% -0.1379 0.1067) |
| OKLCH | oklch(56.3% 0.174 142.3) |
| XYZ | xyz(10.3935, 19.4725, 4.3092) |
| Luminance | 0.1947 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.06
Emerald Green
#028F1E
ΔE00 1.36
True Green
#089404
ΔE00 2.91
Irish Green
#019529
ΔE00 3.16
Kelley Green
#009337
ΔE00 4.18
Green
#008000
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228D1C #871C8D
analogous
#5A8D1C #228D1C #1C8D4E
triadic
#228D1C #1C228D #8D1C22
tetradic
#228D1C #1C5A8D #871C8D #8D4E1C
square
#228D1C #1C5A8D #871C8D #8D4E1C
split-complementary
#228D1C #4E1C8D #8D1C5A
monochromatic
#092708 #165A12 #228D1C #2EC026 #50DB49
Accessibility & contrast
On white
4.29
#228D1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#228D1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228D1C
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228D1C | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #228d1c; /* rgb */ color: rgb(34, 141, 28); /* oklch */ color: oklch(56.3% 0.174 142.3);
Tailwind
colors: {
custom: {
50: '#70af62',
500: '#228d1c',
950: '#000000',
},
}SCSS
$custom: #228d1c; $custom-light: #70af62; $custom-dark: #000000;
JSON
{
"hex": "#228d1c",
"rgb": {
"r": 34,
"g": 141,
"b": 28
},
"hsl": {
"h": 116.814,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.56302,
"c": 0.1744,
"h": 142.3
},
"luminance": 0.19474
}Semantic roles & 50–950 ramp
primary
#228D1C
secondary
#B748BD
accent
#3EEAE1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A