#187D14#187D14

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

Color values

HEX#187D14
RGBrgb(24, 125, 20)
HSLhsl(118, 72%, 28%)
HSVhsv(118, 84%, 49%)
CMYKcmyk(80.8%, 0%, 84%, 51%)
CIE-LABlab(45.51, -47.52, 44.81)
CIE-LCHlch(45.51, 65.32, 136.68°)
OKLaboklab(51.48% -0.1292 0.0995)
OKLCHoklch(51.48% 0.163 142.4)
XYZxyz(7.8361, 14.9110, 3.1268)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D14 #79147D
analogous
#4C7D14 #187D14 #147D44
triadic
#187D14 #14187D #7D1418
tetradic
#187D14 #144C7D #79147D #7D4414
square
#187D14 #144C7D #79147D #7D4414
split-complementary
#187D14 #44147D #7D144C
monochromatic
#051A04 #0E480C #187D14 #22B21C #35DE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187D14#FFFFFF#000000##FFFFFF
##187D141.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)
#756921
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d14;
/* rgb */ color: rgb(24, 125, 20);
/* oklch */ color: oklch(51.5% 0.163 142.4);
Tailwind
colors: {
  custom: {
    50: '#69a45c',
    500: '#187d14',
    950: '#000000',
  },
}
SCSS
$custom: #187d14;
$custom-light: #69a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#187d14",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 117.714,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.16303,
    "h": 142.4
  },
  "luminance": 0.14912
}

Semantic roles & 50–950 ramp

primary
#187D14
secondary
#AE3AB2
accent
#39EFE8
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #187D14

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

Preview Lab → · Contrast checker → · Palette generator →

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