#187D17#187D17

#187D17 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.162 H 142.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#187D17
RGBrgb(24, 125, 23)
HSLhsl(119, 69%, 29%)
HSVhsv(119, 82%, 49%)
CMYKcmyk(80.8%, 0%, 81.6%, 51%)
CIE-LABlab(45.53, -47.33, 43.88)
CIE-LCHlch(45.53, 64.54, 137.17°)
OKLaboklab(51.5% -0.1285 0.098)
OKLCHoklch(51.5% 0.162 142.7)
XYZxyz(7.8645, 14.9223, 3.2763)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D17 #7C177D
analogous
#4B7D17 #187D17 #177D49
triadic
#187D17 #17187D #7D1718
tetradic
#187D17 #174B7D #7C177D #7D4917
square
#187D17 #174B7D #7C177D #7D4917
split-complementary
#187D17 #49177D #7D174B
monochromatic
#051A05 #0E490D #187D17 #22B121 #36DA35

Accessibility & contrast

On white

5.27
#187D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#187D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D17
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D17#FFFFFF#000000##FFFFFF
##187D171.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d17;
/* rgb */ color: rgb(24, 125, 23);
/* oklch */ color: oklch(51.5% 0.162 142.7);
Tailwind
colors: {
  custom: {
    50: '#69a45d',
    500: '#187d17',
    950: '#000000',
  },
}
SCSS
$custom: #187d17;
$custom-light: #69a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#187d17",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 119.412,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.16158,
    "h": 142.7
  },
  "luminance": 0.14923
}

Semantic roles & 50–950 ramp

primary
#187D17
secondary
#B13EB2
accent
#3CECEA
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187D17

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

Preview Lab → · Contrast checker → · Palette generator →

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