#187F17#187F17

#187F17 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.164 H 142.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#187F17
RGBrgb(24, 127, 23)
HSLhsl(119, 69%, 29%)
HSVhsv(119, 82%, 50%)
CMYKcmyk(81.1%, 0%, 81.9%, 50.2%)
CIE-LABlab(46.22, -47.99, 44.54)
CIE-LCHlch(46.22, 65.47, 137.13°)
OKLaboklab(52.07% -0.1303 0.0993)
OKLCHoklch(52.07% 0.164 142.7)
XYZxyz(8.1202, 15.4338, 3.3615)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F17 #7E177F
analogous
#4C7F17 #187F17 #177F4A
triadic
#187F17 #17187F #7F1718
tetradic
#187F17 #174C7F #7E177F #7F4A17
square
#187F17 #174C7F #7E177F #7F4A17
split-complementary
#187F17 #4A177F #7F174C
monochromatic
#051A05 #0E4B0E #187F17 #22B320 #37DB36

Accessibility & contrast

On white

5.14
#187F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#187F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F17
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F17#FFFFFF#000000##FFFFFF
##187F171.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187f17;
/* rgb */ color: rgb(24, 127, 23);
/* oklch */ color: oklch(52.1% 0.164 142.7);
Tailwind
colors: {
  custom: {
    50: '#6aa55d',
    500: '#187f17',
    950: '#000000',
  },
}
SCSS
$custom: #187f17;
$custom-light: #6aa55d;
$custom-dark: #000000;
JSON
{
  "hex": "#187f17",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 119.423,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52074,
    "c": 0.16384,
    "h": 142.7
  },
  "luminance": 0.15435
}

Semantic roles & 50–950 ramp

primary
#187F17
secondary
#B23EB4
accent
#3CECEA
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #187F17

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

Preview Lab → · Contrast checker → · Palette generator →

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