#228C18#228C18
#228C18 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.175 H 141.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #228C18 |
|---|---|
| RGB | rgb(34, 140, 24) |
| HSL | hsl(115, 71%, 32%) |
| HSV | hsv(115, 83%, 55%) |
| CMYK | cmyk(75.7%, 0%, 82.9%, 45.1%) |
| CIE-LAB | lab(50.88, -50.63, 48.68) |
| CIE-LCH | lch(50.88, 70.24, 136.13°) |
| OKLab | oklab(56% -0.1379 0.1081) |
| OKLCH | oklch(56% 0.175 141.9) |
| XYZ | xyz(10.2020, 19.1610, 4.0248) |
| Luminance | 0.1916 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.18
Emerald Green
#028F1E
ΔE00 1.69
True Green
#089404
ΔE00 3.05
Irish Green
#019529
ΔE00 3.61
Kelley Green
#009337
ΔE00 4.63
Green
#008000
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228C18 #82188C
analogous
#5C8C18 #228C18 #188C48
triadic
#228C18 #18228C #8C1822
tetradic
#228C18 #185C8C #82188C #8C4818
square
#228C18 #185C8C #82188C #8C4818
split-complementary
#228C18 #48188C #8C185C
monochromatic
#092406 #15580F #228C18 #2FC021 #4EDE40
Accessibility & contrast
On white
4.35
#228C18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#228C18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228C18
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228C18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228C18 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #228c18; /* rgb */ color: rgb(34, 140, 24); /* oklch */ color: oklch(56.0% 0.175 141.9);
Tailwind
colors: {
custom: {
50: '#70af60',
500: '#228c18',
950: '#000000',
},
}SCSS
$custom: #228c18; $custom-light: #70af60; $custom-dark: #000000;
JSON
{
"hex": "#228c18",
"rgb": {
"r": 34,
"g": 140,
"b": 24
},
"hsl": {
"h": 114.828,
"s": 70.732,
"l": 32.157
},
"oklch": {
"l": 0.55996,
"c": 0.1752,
"h": 141.9
},
"luminance": 0.19162
}Semantic roles & 50–950 ramp
primary
#228C18
secondary
#B441BF
accent
#3AEDDE
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#091005
muted
#7B7F79