#187C15#187C15

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

Color values

HEX#187C15
RGBrgb(24, 124, 21)
HSLhsl(118, 71%, 28%)
HSVhsv(118, 83%, 49%)
CMYKcmyk(80.6%, 0%, 83.1%, 51.4%)
CIE-LABlab(45.17, -47.13, 44.18)
CIE-LCHlch(45.17, 64.60, 136.85°)
OKLaboklab(51.19% -0.1281 0.0983)
OKLCHoklch(51.19% 0.161 142.5)
XYZxyz(7.7192, 14.6627, 3.1327)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C15 #79157C
analogous
#4B7C15 #187C15 #157C45
triadic
#187C15 #15187C #7C1518
tetradic
#187C15 #154B7C #79157C #7C4515
square
#187C15 #154B7C #79157C #7C4515
split-complementary
#187C15 #45157C #7C154B
monochromatic
#051A04 #0E480C #187C15 #22B01E #35DC30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187C15#FFFFFF#000000##FFFFFF
##187C151.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)
#746822
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c15;
/* rgb */ color: rgb(24, 124, 21);
/* oklch */ color: oklch(51.2% 0.161 142.5);
Tailwind
colors: {
  custom: {
    50: '#69a35c',
    500: '#187c15',
    950: '#000000',
  },
}
SCSS
$custom: #187c15;
$custom-light: #69a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#187c15",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 118.252,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51193,
    "c": 0.16143,
    "h": 142.5
  },
  "luminance": 0.14664
}

Semantic roles & 50–950 ramp

primary
#187C15
secondary
#AE3CB1
accent
#3AEEE9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #187C15

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

Preview Lab → · Contrast checker → · Palette generator →

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