#188D1F#188D1F
#188D1F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.175 H 143.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #188D1F |
|---|---|
| RGB | rgb(24, 141, 31) |
| HSL | hsl(124, 71%, 32%) |
| HSV | hsv(124, 83%, 55%) |
| CMYK | cmyk(83%, 0%, 78%, 44.7%) |
| CIE-LAB | lab(51.08, -51.95, 46.54) |
| CIE-LCH | lch(51.08, 69.75, 138.14°) |
| OKLab | oklab(56.13% -0.1407 0.1047) |
| OKLCH | oklch(56.13% 0.175 143.4) |
| XYZ | xyz(10.1482, 19.3416, 4.4945) |
| Luminance | 0.1934 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.86
Emerald Green
#028F1E
ΔE00 0.87
Irish Green
#019529
ΔE00 2.88
True Green
#089404
ΔE00 3.18
Kelley Green
#009337
ΔE00 3.66
Green
#008000
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#188D1F #8D1886
analogous
#4B8D18 #188D1F #188D5A
triadic
#188D1F #1F188D #8D1F18
tetradic
#188D1F #184B8D #8D1886 #8D5A18
square
#188D1F #184B8D #8D1886 #8D5A18
split-complementary
#188D1F #5A188D #8D184B
monochromatic
#062408 #0F5914 #188D1F #21C12A #41DF4A
Accessibility & contrast
On white
4.31
#188D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#188D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #188D1F
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##188D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##188D1F | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #188d1f; /* rgb */ color: rgb(24, 141, 31); /* oklch */ color: oklch(56.1% 0.175 143.4);
Tailwind
colors: {
custom: {
50: '#6daf63',
500: '#188d1f',
950: '#000000',
},
}SCSS
$custom: #188d1f; $custom-light: #6daf63; $custom-dark: #000000;
JSON
{
"hex": "#188d1f",
"rgb": {
"r": 24,
"g": 141,
"b": 31
},
"hsl": {
"h": 123.59,
"s": 70.909,
"l": 32.353
},
"oklch": {
"l": 0.56134,
"c": 0.17536,
"h": 143.4
},
"luminance": 0.19343
}Semantic roles & 50–950 ramp
primary
#188D1F
secondary
#BF42B8
accent
#3AE3EE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A