#188C1F#188C1F
#188C1F is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.174 H 143.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #188C1F |
|---|---|
| RGB | rgb(24, 140, 31) |
| HSL | hsl(124, 71%, 32%) |
| HSV | hsv(124, 83%, 55%) |
| CMYK | cmyk(82.9%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(50.74, -51.63, 46.21) |
| CIE-LCH | lch(50.74, 69.29, 138.17°) |
| OKLab | oklab(55.85% -0.1398 0.104) |
| OKLCH | oklch(55.85% 0.174 143.4) |
| XYZ | xyz(10.0014, 19.0481, 4.4456) |
| Luminance | 0.1905 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.62
Emerald Green
#028F1E
ΔE00 1.15
Irish Green
#019529
ΔE00 3.20
True Green
#089404
ΔE00 3.49
Kelley Green
#009337
ΔE00 3.82
Green
#008000
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#188C1F #8C1885
analogous
#4B8C18 #188C1F #188C59
triadic
#188C1F #1F188C #8C1F18
tetradic
#188C1F #184B8C #8C1885 #8C5918
square
#188C1F #184B8C #8C1885 #8C5918
split-complementary
#188C1F #59188C #8C184B
monochromatic
#062408 #0F5813 #188C1F #21C02B #40DE4A
Accessibility & contrast
On white
4.37
#188C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#188C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #188C1F
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##188C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##188C1F | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #188c1f; /* rgb */ color: rgb(24, 140, 31); /* oklch */ color: oklch(55.9% 0.174 143.4);
Tailwind
colors: {
custom: {
50: '#6daf63',
500: '#188c1f',
950: '#000000',
},
}SCSS
$custom: #188c1f; $custom-light: #6daf63; $custom-dark: #000000;
JSON
{
"hex": "#188c1f",
"rgb": {
"r": 24,
"g": 140,
"b": 31
},
"hsl": {
"h": 123.621,
"s": 70.732,
"l": 32.157
},
"oklch": {
"l": 0.5585,
"c": 0.17424,
"h": 143.4
},
"luminance": 0.19049
}Semantic roles & 50–950 ramp
primary
#188C1F
secondary
#BF41B7
accent
#3AE3ED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A