#187A17#187A17

#187A17 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.6% C 0.158 H 142.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#187A17
RGBrgb(24, 122, 23)
HSLhsl(119, 68%, 28%)
HSVhsv(119, 81%, 48%)
CMYKcmyk(80.3%, 0%, 81.1%, 52.2%)
CIE-LABlab(44.48, -46.33, 42.87)
CIE-LCHlch(44.48, 63.12, 137.22°)
OKLaboklab(50.63% -0.1258 0.0959)
OKLCHoklch(50.63% 0.158 142.7)
XYZxyz(7.4904, 14.1742, 3.1516)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A17 #79177A
analogous
#497A17 #187A17 #177A47
triadic
#187A17 #17187A #7A1718
tetradic
#187A17 #17497A #79177A #7A4717
square
#187A17 #17497A #79177A #7A4717
split-complementary
#187A17 #47177A #7A1749
monochromatic
#051A05 #0E470D #187A17 #22AD21 #35D933

Accessibility & contrast

On white

5.48
#187A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#187A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A17
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A17#FFFFFF#000000##FFFFFF
##187A171.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187a17;
/* rgb */ color: rgb(24, 122, 23);
/* oklch */ color: oklch(50.6% 0.158 142.7);
Tailwind
colors: {
  custom: {
    50: '#68a15d',
    500: '#187a17',
    950: '#000000',
  },
}
SCSS
$custom: #187a17;
$custom-light: #68a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#187a17",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 119.394,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50625,
    "c": 0.15815,
    "h": 142.7
  },
  "luminance": 0.14175
}

Semantic roles & 50–950 ramp

primary
#187A17
secondary
#AE3EAF
accent
#3DEBE9
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #187A17

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

Preview Lab → · Contrast checker → · Palette generator →

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