#228E1A#228E1A
#228E1A is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.176 H 142.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #228E1A |
|---|---|
| RGB | rgb(34, 142, 26) |
| HSL | hsl(116, 69%, 33%) |
| HSV | hsv(116, 82%, 56%) |
| CMYK | cmyk(76.1%, 0%, 81.7%, 44.3%) |
| CIE-LAB | lab(51.56, -51.17, 48.72) |
| CIE-LCH | lch(51.56, 70.65, 136.41°) |
| OKLab | oklab(56.57% -0.1393 0.1084) |
| OKLCH | oklch(56.57% 0.177 142.1) |
| XYZ | xyz(10.5185, 19.7595, 4.2367) |
| Luminance | 0.1976 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.39
Forestgreen (CSS)
#228B22
ΔE00 1.49
True Green
#089404
ΔE00 2.51
Irish Green
#019529
ΔE00 3.01
Kelley Green
#009337
ΔE00 4.25
Green
#008000
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228E1A #861A8E
analogous
#5C8E1A #228E1A #1A8E4C
triadic
#228E1A #1A228E #8E1A22
tetradic
#228E1A #1A5C8E #861A8E #8E4C1A
square
#228E1A #1A5C8E #861A8E #8E4C1A
split-complementary
#228E1A #4C1A8E #8E1A5C
monochromatic
#092707 #165A11 #228E1A #2EC223 #50DD45
Accessibility & contrast
On white
4.24
#228E1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#228E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228E1A
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228E1A | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857828
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #228e1a; /* rgb */ color: rgb(34, 142, 26); /* oklch */ color: oklch(56.6% 0.176 142.1);
Tailwind
colors: {
custom: {
50: '#71b061',
500: '#228e1a',
950: '#000000',
},
}SCSS
$custom: #228e1a; $custom-light: #71b061; $custom-dark: #000000;
JSON
{
"hex": "#228e1a",
"rgb": {
"r": 34,
"g": 142,
"b": 26
},
"hsl": {
"h": 115.862,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.56572,
"c": 0.1765,
"h": 142.1
},
"luminance": 0.19761
}Semantic roles & 50–950 ramp
primary
#228E1A
secondary
#B645BE
accent
#3CECE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A