#228C1E#228C1E
#228C1E is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.172 H 142.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #228C1E |
|---|---|
| RGB | rgb(34, 140, 30) |
| HSL | hsl(118, 65%, 33%) |
| HSV | hsv(118, 79%, 55%) |
| CMYK | cmyk(75.7%, 0%, 78.6%, 45.1%) |
| CIE-LAB | lab(50.91, -50.23, 46.77) |
| CIE-LCH | lch(50.91, 68.64, 137.04°) |
| OKLab | oklab(56.03% -0.1366 0.1049) |
| OKLCH | oklch(56.03% 0.172 142.5) |
| XYZ | xyz(10.2715, 19.1888, 4.3905) |
| Luminance | 0.1919 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.63
Emerald Green
#028F1E
ΔE00 1.47
True Green
#089404
ΔE00 3.34
Irish Green
#019529
ΔE00 3.36
Kelley Green
#009337
ΔE00 4.14
Green
#008000
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228C1E #881E8C
analogous
#598C1E #228C1E #1E8C51
triadic
#228C1E #1E228C #8C1E22
tetradic
#228C1E #1E598C #881E8C #8C511E
square
#228C1E #1E598C #881E8C #8C511E
split-complementary
#228C1E #511E8C #8C1E59
monochromatic
#0A2708 #165A13 #228C1E #2EBE29 #51D94C
Accessibility & contrast
On white
4.34
#228C1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#228C1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228C1E
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228C1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228C1E | 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)
#8F7E03
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #228c1e; /* rgb */ color: rgb(34, 140, 30); /* oklch */ color: oklch(56.0% 0.172 142.5);
Tailwind
colors: {
custom: {
50: '#70af63',
500: '#228c1e',
950: '#000000',
},
}SCSS
$custom: #228c1e; $custom-light: #70af63; $custom-dark: #000000;
JSON
{
"hex": "#228c1e",
"rgb": {
"r": 34,
"g": 140,
"b": 30
},
"hsl": {
"h": 117.818,
"s": 64.706,
"l": 33.333
},
"oklch": {
"l": 0.56033,
"c": 0.17222,
"h": 142.5
},
"luminance": 0.1919
}Semantic roles & 50–950 ramp
primary
#228C1E
secondary
#B74BBB
accent
#40E8E2
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A