#228829#228829
#228829 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.161 H 143.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #228829 |
|---|---|
| RGB | rgb(34, 136, 41) |
| HSL | hsl(124, 60%, 33%) |
| HSV | hsv(124, 75%, 53%) |
| CMYK | cmyk(75%, 0%, 69.9%, 46.7%) |
| CIE-LAB | lab(49.63, -47.91, 41.18) |
| CIE-LCH | lch(49.63, 63.18, 139.32°) |
| OKLab | oklab(55% -0.1297 0.0947) |
| OKLCH | oklch(55% 0.161 143.9) |
| XYZ | xyz(9.8634, 18.1074, 5.0726) |
| Luminance | 0.1811 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.56
Emerald Green
#028F1E
ΔE00 2.94
Tree Green
#2A7E19
ΔE00 3.90
Kelley Green
#009337
ΔE00 4.20
Green
#008000
ΔE00 4.30
Irish Green
#019529
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228829 #882281
analogous
#4E8822 #228829 #22885C
triadic
#228829 #292288 #882922
tetradic
#228829 #224E88 #882281 #885C22
square
#228829 #224E88 #882281 #885C22
split-complementary
#228829 #5C2288 #88224E
monochromatic
#0A260B #16571A #228829 #2EB938 #51D35A
Accessibility & contrast
On white
4.54
#228829 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#228829 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228829
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228829 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228829 | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B1C
Deuteranopia (green-blind)
#7F7332
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #228829; /* rgb */ color: rgb(34, 136, 41); /* oklch */ color: oklch(55.0% 0.161 143.9);
Tailwind
colors: {
custom: {
50: '#6eac68',
500: '#228829',
950: '#000000',
},
}SCSS
$custom: #228829; $custom-light: #6eac68; $custom-dark: #000000;
JSON
{
"hex": "#228829",
"rgb": {
"r": 34,
"g": 136,
"b": 41
},
"hsl": {
"h": 124.118,
"s": 60,
"l": 33.333
},
"oklch": {
"l": 0.54995,
"c": 0.16061,
"h": 143.9
},
"luminance": 0.18108
}Semantic roles & 50–950 ramp
primary
#228829
secondary
#B74FB0
accent
#45D8E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A