#228E26#228E26
#228E26 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.170 H 143.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #228E26 |
|---|---|
| RGB | rgb(34, 142, 38) |
| HSL | hsl(122, 61%, 35%) |
| HSV | hsv(122, 76%, 56%) |
| CMYK | cmyk(76.1%, 0%, 73.2%, 44.3%) |
| CIE-LAB | lab(51.64, -50.26, 44.54) |
| CIE-LCH | lch(51.64, 67.15, 138.45°) |
| OKLab | oklab(56.66% -0.1362 0.1014) |
| OKLCH | oklch(56.66% 0.17 143.3) |
| XYZ | xyz(10.6819, 19.8248, 5.0970) |
| Luminance | 0.1983 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.10
Emerald Green
#028F1E
ΔE00 1.25
Irish Green
#019529
ΔE00 2.53
Kelley Green
#009337
ΔE00 3.12
True Green
#089404
ΔE00 3.40
Green
#008000
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228E26 #8E228A
analogous
#548E22 #228E26 #228E5C
triadic
#228E26 #26228E #8E2622
tetradic
#228E26 #22548E #8E228A #8E5C22
square
#228E26 #22548E #8E228A #8E5C22
split-complementary
#228E26 #5C228E #8E2254
monochromatic
#0A2B0C #165D19 #228E26 #2EBF33 #54D659
Accessibility & contrast
On white
4.23
#228E26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#228E26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228E26
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228E26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228E26 | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918015
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #228e26; /* rgb */ color: rgb(34, 142, 38); /* oklch */ color: oklch(56.7% 0.170 143.3);
Tailwind
colors: {
custom: {
50: '#70b067',
500: '#228e26',
950: '#000000',
},
}SCSS
$custom: #228e26; $custom-light: #70b067; $custom-dark: #000000;
JSON
{
"hex": "#228e26",
"rgb": {
"r": 34,
"g": 142,
"b": 38
},
"hsl": {
"h": 122.222,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.56658,
"c": 0.16981,
"h": 143.3
},
"luminance": 0.19826
}Semantic roles & 50–950 ramp
primary
#228E26
secondary
#BA52B6
accent
#43DFE4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A