#188D17#188D17

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

Color values

HEX#188D17
RGBrgb(24, 141, 23)
HSLhsl(119, 72%, 32%)
HSVhsv(119, 84%, 55%)
CMYKcmyk(83%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.04, -52.49, 49.07)
CIE-LCHlch(51.04, 71.85, 136.93°)
OKLaboklab(56.08% -0.1425 0.1088)
OKLCHoklch(56.08% 0.179 142.6)
XYZxyz(10.0556, 19.3046, 4.0066)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188D17 #8C178D
analogous
#538D17 #188D17 #178D51
triadic
#188D17 #17188D #8D1718
tetradic
#188D17 #17538D #8C178D #8D5117
square
#188D17 #17538D #8C178D #8D5117
split-complementary
#188D17 #51178D #8D1753
monochromatic
#062406 #0F580E #188D17 #21C220 #40E03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##188D17#FFFFFF#000000##000000
##188D171.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)
#847626
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #188d17;
/* rgb */ color: rgb(24, 141, 23);
/* oklch */ color: oklch(56.1% 0.179 142.6);
Tailwind
colors: {
  custom: {
    50: '#6db060',
    500: '#188d17',
    950: '#000000',
  },
}
SCSS
$custom: #188d17;
$custom-light: #6db060;
$custom-dark: #000000;
JSON
{
  "hex": "#188d17",
  "rgb": {
    "r": 24,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 119.492,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56084,
    "c": 0.17928,
    "h": 142.6
  },
  "luminance": 0.19306
}

Semantic roles & 50–950 ramp

primary
#188D17
secondary
#BF40C0
accent
#39EFED
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081105
muted
#7B8079

Preview Lab

Preview with #188D17

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

Preview Lab → · Contrast checker → · Palette generator →

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