#187C17#187C17

#187C17 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.160 H 142.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#187C17
RGBrgb(24, 124, 23)
HSLhsl(119, 69%, 29%)
HSVhsv(119, 81%, 49%)
CMYKcmyk(80.6%, 0%, 81.5%, 51.4%)
CIE-LABlab(45.18, -47.00, 43.54)
CIE-LCHlch(45.18, 64.07, 137.18°)
OKLaboklab(51.21% -0.1276 0.0973)
OKLCHoklch(51.21% 0.16 142.7)
XYZxyz(7.7385, 14.6704, 3.2343)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C17 #7B177C
analogous
#4B7C17 #187C17 #177C49
triadic
#187C17 #17187C #7C1718
tetradic
#187C17 #174B7C #7B177C #7C4917
square
#187C17 #174B7C #7B177C #7C4917
split-complementary
#187C17 #49177C #7C174B
monochromatic
#051A05 #0E480D #187C17 #22B021 #36D934

Accessibility & contrast

On white

5.34
#187C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#187C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C17
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C17#FFFFFF#000000##FFFFFF
##187C171.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c17;
/* rgb */ color: rgb(24, 124, 23);
/* oklch */ color: oklch(51.2% 0.160 142.7);
Tailwind
colors: {
  custom: {
    50: '#69a35d',
    500: '#187c17',
    950: '#000000',
  },
}
SCSS
$custom: #187c17;
$custom-light: #69a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#187c17",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 119.406,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51206,
    "c": 0.16044,
    "h": 142.7
  },
  "luminance": 0.14671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #187C17

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

Preview Lab → · Contrast checker → · Palette generator →

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