#187A14#187A14

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

Color values

HEX#187A14
RGBrgb(24, 122, 20)
HSLhsl(118, 72%, 28%)
HSVhsv(118, 84%, 48%)
CMYKcmyk(80.3%, 0%, 83.6%, 52.2%)
CIE-LABlab(44.47, -46.53, 43.83)
CIE-LCHlch(44.47, 63.92, 136.71°)
OKLaboklab(50.61% -0.1265 0.0974)
OKLCHoklch(50.61% 0.16 142.4)
XYZxyz(7.4620, 14.1629, 3.0021)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A14 #76147A
analogous
#4B7A14 #187A14 #147A43
triadic
#187A14 #14187A #7A1418
tetradic
#187A14 #144B7A #76147A #7A4314
square
#187A14 #144B7A #76147A #7A4314
split-complementary
#187A14 #43147A #7A144B
monochromatic
#051A04 #0E450B #187A14 #22AF1D #33DC2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187A14#FFFFFF#000000##FFFFFF
##187A141.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)
#726621
Tritanopia (blue-blind)
#007667
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187a14;
/* rgb */ color: rgb(24, 122, 20);
/* oklch */ color: oklch(50.6% 0.160 142.4);
Tailwind
colors: {
  custom: {
    50: '#69a15b',
    500: '#187a14',
    950: '#000000',
  },
}
SCSS
$custom: #187a14;
$custom-light: #69a15b;
$custom-dark: #000000;
JSON
{
  "hex": "#187a14",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 117.647,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50607,
    "c": 0.15965,
    "h": 142.4
  },
  "luminance": 0.14164
}

Semantic roles & 50–950 ramp

primary
#187A14
secondary
#AB3AB0
accent
#39EFE7
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #187A14

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

Preview Lab → · Contrast checker → · Palette generator →

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