#188F28#188F28
#188F28 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.172 H 144.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #188F28 |
|---|---|
| RGB | rgb(24, 143, 40) |
| HSL | hsl(128, 71%, 33%) |
| HSV | hsv(128, 83%, 56%) |
| CMYK | cmyk(83.2%, 0%, 72%, 43.9%) |
| CIE-LAB | lab(51.83, -51.83, 43.88) |
| CIE-LCH | lch(51.83, 67.91, 139.75°) |
| OKLab | oklab(56.77% -0.14 0.1003) |
| OKLCH | oklch(56.77% 0.172 144.4) |
| XYZ | xyz(10.5814, 19.9910, 5.3080) |
| Luminance | 0.1999 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.11
Forestgreen (CSS)
#228B22
ΔE00 1.59
Irish Green
#019529
ΔE00 2.07
Kelley Green
#009337
ΔE00 2.52
True Green
#089404
ΔE00 3.48
Green
#008000
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#188F28 #8F187F
analogous
#448F18 #188F28 #188F63
triadic
#188F28 #28188F #8F2818
tetradic
#188F28 #18448F #8F187F #8F6318
square
#188F28 #18448F #8F187F #8F6318
split-complementary
#188F28 #63188F #8F1844
monochromatic
#06260B #0F5B19 #188F28 #21C337 #42DF57
Accessibility & contrast
On white
4.20
#188F28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#188F28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #188F28
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##188F28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##188F28 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #188f28; /* rgb */ color: rgb(24, 143, 40); /* oklch */ color: oklch(56.8% 0.172 144.4);
Tailwind
colors: {
custom: {
50: '#6db168',
500: '#188f28',
950: '#000000',
},
}SCSS
$custom: #188f28; $custom-light: #6db168; $custom-dark: #000000;
JSON
{
"hex": "#188f28",
"rgb": {
"r": 24,
"g": 143,
"b": 40
},
"hsl": {
"h": 128.067,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.56771,
"c": 0.17219,
"h": 144.4
},
"luminance": 0.19992
}Semantic roles & 50–950 ramp
primary
#188F28
secondary
#C043AF
accent
#3AD6EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A