#187F14#187F14

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

Color values

HEX#187F14
RGBrgb(24, 127, 20)
HSLhsl(118, 73%, 29%)
HSVhsv(118, 84%, 50%)
CMYKcmyk(81.1%, 0%, 84.3%, 50.2%)
CIE-LABlab(46.21, -48.18, 45.46)
CIE-LCHlch(46.21, 66.24, 136.66°)
OKLaboklab(52.06% -0.1309 0.1008)
OKLCHoklch(52.06% 0.165 142.4)
XYZxyz(8.0918, 15.4225, 3.2121)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F14 #7B147F
analogous
#4E7F14 #187F14 #147F46
triadic
#187F14 #14187F #7F1418
tetradic
#187F14 #144E7F #7B147F #7F4614
square
#187F14 #144E7F #7B147F #7F4614
split-complementary
#187F14 #46147F #7F144E
monochromatic
#051A04 #0E4A0C #187F14 #22B41C #36DE2F

Accessibility & contrast

On white

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

On black

4.08
#187F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187F14#FFFFFF#000000##FFFFFF
##187F141.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187f14;
/* rgb */ color: rgb(24, 127, 20);
/* oklch */ color: oklch(52.1% 0.165 142.4);
Tailwind
colors: {
  custom: {
    50: '#6aa55c',
    500: '#187f14',
    950: '#000000',
  },
}
SCSS
$custom: #187f14;
$custom-light: #6aa55c;
$custom-dark: #000000;
JSON
{
  "hex": "#187f14",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 117.757,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52056,
    "c": 0.16525,
    "h": 142.4
  },
  "luminance": 0.15423
}

Semantic roles & 50–950 ramp

primary
#187F14
secondary
#B03BB4
accent
#38EFE9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #187F14

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

Preview Lab → · Contrast checker → · Palette generator →

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