#188E21#188E21
#188E21 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.4% C 0.175 H 143.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #188E21 |
|---|---|
| RGB | rgb(24, 142, 33) |
| HSL | hsl(125, 71%, 33%) |
| HSV | hsv(125, 83%, 56%) |
| CMYK | cmyk(83.1%, 0%, 76.8%, 44.3%) |
| CIE-LAB | lab(51.44, -52.12, 46.18) |
| CIE-LCH | lch(51.44, 69.63, 138.46°) |
| OKLab | oklab(56.43% -0.1411 0.1042) |
| OKLCH | oklch(56.43% 0.175 143.6) |
| XYZ | xyz(10.3235, 19.6487, 4.6870) |
| Luminance | 0.1965 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.68
Forestgreen (CSS)
#228B22
ΔE00 1.12
Irish Green
#019529
ΔE00 2.51
True Green
#089404
ΔE00 3.04
Kelley Green
#009337
ΔE00 3.35
Green
#008000
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#188E21 #8E1885
analogous
#4A8E18 #188E21 #188E5C
triadic
#188E21 #21188E #8E2118
tetradic
#188E21 #184A8E #8E1885 #8E5C18
square
#188E21 #184A8E #8E1885 #8E5C18
split-complementary
#188E21 #5C188E #8E184A
monochromatic
#062509 #0F5A15 #188E21 #21C22D #41DF4D
Accessibility & contrast
On white
4.26
#188E21 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#188E21 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #188E21
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##188E21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##188E21 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #188e21; /* rgb */ color: rgb(24, 142, 33); /* oklch */ color: oklch(56.4% 0.175 143.6);
Tailwind
colors: {
custom: {
50: '#6db064',
500: '#188e21',
950: '#000000',
},
}SCSS
$custom: #188e21; $custom-light: #6db064; $custom-dark: #000000;
JSON
{
"hex": "#188e21",
"rgb": {
"r": 24,
"g": 142,
"b": 33
},
"hsl": {
"h": 124.576,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.56432,
"c": 0.17536,
"h": 143.6
},
"luminance": 0.1965
}Semantic roles & 50–950 ramp
primary
#188E21
secondary
#C042B6
accent
#3AE0EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A