#188B1B#188B1B
#188B1B is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.5% C 0.175 H 143.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #188B1B |
|---|---|
| RGB | rgb(24, 139, 27) |
| HSL | hsl(122, 71%, 32%) |
| HSV | hsv(122, 83%, 55%) |
| CMYK | cmyk(82.7%, 0%, 80.6%, 45.5%) |
| CIE-LAB | lab(50.38, -51.60, 47.21) |
| CIE-LCH | lch(50.38, 69.94, 137.54°) |
| OKLab | oklab(55.54% -0.1399 0.1055) |
| OKLCH | oklch(55.54% 0.175 143) |
| XYZ | xyz(9.8065, 18.7374, 4.1365) |
| Luminance | 0.1874 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.77
Emerald Green
#028F1E
ΔE00 1.49
True Green
#089404
ΔE00 3.58
Irish Green
#019529
ΔE00 3.64
Green
#008000
ΔE00 4.21
Kelley Green
#009337
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#188B1B #8B1888
analogous
#4F8B18 #188B1B #188B55
triadic
#188B1B #1B188B #8B1B18
tetradic
#188B1B #184F8B #8B1888 #8B5518
square
#188B1B #184F8B #8B1888 #8B5518
split-complementary
#188B1B #55188B #8B184F
monochromatic
#062307 #0F5711 #188B1B #21BF25 #3FDE44
Accessibility & contrast
On white
4.42
#188B1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#188B1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #188B1B
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##188B1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##188B1B | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #188b1b; /* rgb */ color: rgb(24, 139, 27); /* oklch */ color: oklch(55.5% 0.175 143.0);
Tailwind
colors: {
custom: {
50: '#6dae61',
500: '#188b1b',
950: '#000000',
},
}SCSS
$custom: #188b1b; $custom-light: #6dae61; $custom-dark: #000000;
JSON
{
"hex": "#188b1b",
"rgb": {
"r": 24,
"g": 139,
"b": 27
},
"hsl": {
"h": 121.565,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.55539,
"c": 0.17523,
"h": 143
},
"luminance": 0.18739
}Semantic roles & 50–950 ramp
primary
#188B1B
secondary
#BE40BB
accent
#3AE9ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A