#187C16#187C16

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

Color values

HEX#187C16
RGBrgb(24, 124, 22)
HSLhsl(119, 70%, 29%)
HSVhsv(119, 82%, 49%)
CMYKcmyk(80.6%, 0%, 82.3%, 51.4%)
CIE-LABlab(45.17, -47.06, 43.87)
CIE-LCHlch(45.17, 64.34, 137.01°)
OKLaboklab(51.2% -0.1278 0.0978)
OKLCHoklch(51.2% 0.161 142.6)
XYZxyz(7.7287, 14.6665, 3.1825)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C16 #7A167C
analogous
#4B7C16 #187C16 #167C47
triadic
#187C16 #16187C #7C1618
tetradic
#187C16 #164B7C #7A167C #7C4716
square
#187C16 #164B7C #7A167C #7C4716
split-complementary
#187C16 #47167C #7C164B
monochromatic
#051A05 #0E480D #187C16 #22B01F #35DB32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187C16#FFFFFF#000000##FFFFFF
##187C161.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: #187c16;
/* rgb */ color: rgb(24, 124, 22);
/* oklch */ color: oklch(51.2% 0.161 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a35d',
    500: '#187c16',
    950: '#000000',
  },
}
SCSS
$custom: #187c16;
$custom-light: #69a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#187c16",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 118.824,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.16095,
    "h": 142.6
  },
  "luminance": 0.14667
}

Semantic roles & 50–950 ramp

primary
#187C16
secondary
#AF3DB1
accent
#3BEDE9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #187C16

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

Preview Lab → · Contrast checker → · Palette generator →

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