#228A1D#228A1D
#228A1D is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.170 H 142.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #228A1D |
|---|---|
| RGB | rgb(34, 138, 29) |
| HSL | hsl(117, 65%, 33%) |
| HSV | hsv(117, 79%, 54%) |
| CMYK | cmyk(75.4%, 0%, 79%, 45.9%) |
| CIE-LAB | lab(50.22, -49.64, 46.45) |
| CIE-LCH | lch(50.22, 67.98, 136.90°) |
| OKLab | oklab(55.46% -0.135 0.1041) |
| OKLCH | oklch(55.46% 0.17 142.4) |
| XYZ | xyz(9.9693, 18.6046, 4.2278) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.62
Emerald Green
#028F1E
ΔE00 1.99
True Green
#089404
ΔE00 3.93
Irish Green
#019529
ΔE00 4.00
Green
#008000
ΔE00 4.09
Tree Green
#2A7E19
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228A1D #851D8A
analogous
#588A1D #228A1D #1D8A4F
triadic
#228A1D #1D228A #8A1D22
tetradic
#228A1D #1D588A #851D8A #8A4F1D
square
#228A1D #1D588A #851D8A #8A4F1D
split-complementary
#228A1D #4F1D8A #8A1D58
monochromatic
#092508 #165712 #228A1D #2EBD28 #4FD949
Accessibility & contrast
On white
4.45
#228A1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#228A1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228A1D
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228A1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228A1D | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C02
Deuteranopia (green-blind)
#827429
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #228a1d; /* rgb */ color: rgb(34, 138, 29); /* oklch */ color: oklch(55.5% 0.170 142.4);
Tailwind
colors: {
custom: {
50: '#6fad62',
500: '#228a1d',
950: '#000000',
},
}SCSS
$custom: #228a1d; $custom-light: #6fad62; $custom-dark: #000000;
JSON
{
"hex": "#228a1d",
"rgb": {
"r": 34,
"g": 138,
"b": 29
},
"hsl": {
"h": 117.248,
"s": 65.269,
"l": 32.745
},
"oklch": {
"l": 0.55462,
"c": 0.17047,
"h": 142.4
},
"luminance": 0.18606
}Semantic roles & 50–950 ramp
primary
#228A1D
secondary
#B648BB
accent
#40E8E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A