#188F1F#188F1F
#188F1F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.178 H 143.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #188F1F |
|---|---|
| RGB | rgb(24, 143, 31) |
| HSL | hsl(124, 71%, 33%) |
| HSV | hsv(124, 83%, 56%) |
| CMYK | cmyk(83.2%, 0%, 78.3%, 43.9%) |
| CIE-LAB | lab(51.77, -52.59, 47.21) |
| CIE-LCH | lch(51.77, 70.68, 138.09°) |
| OKLab | oklab(56.7% -0.1424 0.106) |
| OKLCH | oklch(56.7% 0.178 143.3) |
| XYZ | xyz(10.4458, 19.9368, 4.5937) |
| Luminance | 0.1994 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.64
Forestgreen (CSS)
#228B22
ΔE00 1.49
Irish Green
#019529
ΔE00 2.30
True Green
#089404
ΔE00 2.60
Kelley Green
#009337
ΔE00 3.45
Green
#008000
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#188F1F #8F1888
analogous
#4D8F18 #188F1F #188F5A
triadic
#188F1F #1F188F #8F1F18
tetradic
#188F1F #184D8F #8F1888 #8F5A18
square
#188F1F #184D8F #8F1888 #8F5A18
split-complementary
#188F1F #5A188F #8F184D
monochromatic
#062608 #0F5B14 #188F1F #21C32A #42DF4B
Accessibility & contrast
On white
4.21
#188F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#188F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #188F1F
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##188F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##188F1F | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #188f1f; /* rgb */ color: rgb(24, 143, 31); /* oklch */ color: oklch(56.7% 0.178 143.3);
Tailwind
colors: {
custom: {
50: '#6eb163',
500: '#188f1f',
950: '#000000',
},
}SCSS
$custom: #188f1f; $custom-light: #6eb163; $custom-dark: #000000;
JSON
{
"hex": "#188f1f",
"rgb": {
"r": 24,
"g": 143,
"b": 31
},
"hsl": {
"h": 123.529,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.56701,
"c": 0.17759,
"h": 143.3
},
"luminance": 0.19938
}Semantic roles & 50–950 ramp
primary
#188F1F
secondary
#C043B9
accent
#3AE3EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A