#188D1B#188D1B

#188D1B is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.177 H 143.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#188D1B
RGBrgb(24, 141, 27)
HSLhsl(122, 71%, 32%)
HSVhsv(122, 83%, 55%)
CMYKcmyk(83%, 0%, 80.9%, 44.7%)
CIE-LABlab(51.06, -52.24, 47.87)
CIE-LCHlch(51.06, 70.85, 137.50°)
OKLaboklab(56.11% -0.1417 0.1068)
OKLCHoklch(56.11% 0.177 143)
XYZxyz(10.0987, 19.3218, 4.2339)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188D1B #8D188A
analogous
#508D18 #188D1B #188D55
triadic
#188D1B #1B188D #8D1B18
tetradic
#188D1B #18508D #8D188A #8D5518
square
#188D1B #18508D #8D188A #8D5518
split-complementary
#188D1B #55188D #8D1850
monochromatic
#062407 #0F5911 #188D1B #21C125 #41DF45

Accessibility & contrast

On white

4.32
#188D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#188D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188D1B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188D1B#FFFFFF#000000##000000
##188D1B1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #188d1b;
/* rgb */ color: rgb(24, 141, 27);
/* oklch */ color: oklch(56.1% 0.177 143.0);
Tailwind
colors: {
  custom: {
    50: '#6db061',
    500: '#188d1b',
    950: '#000000',
  },
}
SCSS
$custom: #188d1b;
$custom-light: #6db061;
$custom-dark: #000000;
JSON
{
  "hex": "#188d1b",
  "rgb": {
    "r": 24,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 121.538,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56107,
    "c": 0.17744,
    "h": 143
  },
  "luminance": 0.19323
}

Semantic roles & 50–950 ramp

primary
#188D1B
secondary
#BF42BC
accent
#3AE9EE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081105
muted
#7B807A

Preview Lab

Preview with #188D1B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#188D1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva