#187A16#187A16

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

Color values

HEX#187A16
RGBrgb(24, 122, 22)
HSLhsl(119, 69%, 28%)
HSVhsv(119, 82%, 48%)
CMYKcmyk(80.3%, 0%, 82%, 52.2%)
CIE-LABlab(44.48, -46.40, 43.20)
CIE-LCHlch(44.48, 63.40, 137.04°)
OKLaboklab(50.62% -0.126 0.0964)
OKLCHoklch(50.62% 0.159 142.6)
XYZxyz(7.4806, 14.1703, 3.0998)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A16 #78167A
analogous
#4A7A16 #187A16 #167A46
triadic
#187A16 #16187A #7A1618
tetradic
#187A16 #164A7A #78167A #7A4616
square
#187A16 #164A7A #78167A #7A4616
split-complementary
#187A16 #46167A #7A164A
monochromatic
#051A05 #0E460D #187A16 #22AE1F #34DA31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187A16#FFFFFF#000000##FFFFFF
##187A161.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)
#726622
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187a16;
/* rgb */ color: rgb(24, 122, 22);
/* oklch */ color: oklch(50.6% 0.159 142.6);
Tailwind
colors: {
  custom: {
    50: '#68a15c',
    500: '#187a16',
    950: '#000000',
  },
}
SCSS
$custom: #187a16;
$custom-light: #68a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#187a16",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 118.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50619,
    "c": 0.15867,
    "h": 142.6
  },
  "luminance": 0.14171
}

Semantic roles & 50–950 ramp

primary
#187A16
secondary
#AD3DAF
accent
#3CECE9
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #187A16

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

Preview Lab → · Contrast checker → · Palette generator →

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