#228921#228921
#228921 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.167 H 142.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #228921 |
|---|---|
| RGB | rgb(34, 137, 33) |
| HSL | hsl(119, 61%, 33%) |
| HSV | hsv(119, 76%, 54%) |
| CMYK | cmyk(75.2%, 0%, 75.9%, 46.3%) |
| CIE-LAB | lab(49.91, -48.99, 44.70) |
| CIE-LCH | lch(49.91, 66.32, 137.62°) |
| OKLab | oklab(55.21% -0.133 0.101) |
| OKLCH | oklch(55.21% 0.167 142.8) |
| XYZ | xyz(9.8793, 18.3401, 4.4579) |
| Luminance | 0.1834 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.71
Emerald Green
#028F1E
ΔE00 2.29
Tree Green
#2A7E19
ΔE00 3.93
Green
#008000
ΔE00 3.96
Irish Green
#019529
ΔE00 4.23
Kelley Green
#009337
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228921 #882189
analogous
#568921 #228921 #218954
triadic
#228921 #212289 #892122
tetradic
#228921 #215689 #882189 #895421
square
#228921 #215689 #882189 #895421
split-complementary
#228921 #542189 #892156
monochromatic
#0A2609 #165815 #228921 #2EBA2D #51D550
Accessibility & contrast
On white
4.50
#228921 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#228921 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228921
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228921 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228921 | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C0D
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #228921; /* rgb */ color: rgb(34, 137, 33); /* oklch */ color: oklch(55.2% 0.167 142.8);
Tailwind
colors: {
custom: {
50: '#6fac64',
500: '#228921',
950: '#000000',
},
}SCSS
$custom: #228921; $custom-light: #6fac64; $custom-dark: #000000;
JSON
{
"hex": "#228921",
"rgb": {
"r": 34,
"g": 137,
"b": 33
},
"hsl": {
"h": 119.423,
"s": 61.176,
"l": 33.333
},
"oklch": {
"l": 0.55208,
"c": 0.16705,
"h": 142.8
},
"luminance": 0.18341
}Semantic roles & 50–950 ramp
primary
#228921
secondary
#B74EB8
accent
#44E4E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A