#187D16#187D16

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

Color values

HEX#187D16
RGBrgb(24, 125, 22)
HSLhsl(119, 70%, 29%)
HSVhsv(119, 82%, 49%)
CMYKcmyk(80.8%, 0%, 82.4%, 51%)
CIE-LABlab(45.52, -47.40, 44.20)
CIE-LCHlch(45.52, 64.80, 137.00°)
OKLaboklab(51.49% -0.1287 0.0985)
OKLCHoklch(51.49% 0.162 142.6)
XYZxyz(7.8546, 14.9184, 3.2245)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D16 #7B167D
analogous
#4C7D16 #187D16 #167D48
triadic
#187D16 #16187D #7D1618
tetradic
#187D16 #164C7D #7B167D #7D4816
square
#187D16 #164C7D #7B167D #7D4816
split-complementary
#187D16 #48167D #7D164C
monochromatic
#051A05 #0E490D #187D16 #22B11F #36DB32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #187d16;
/* rgb */ color: rgb(24, 125, 22);
/* oklch */ color: oklch(51.5% 0.162 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a45d',
    500: '#187d16',
    950: '#000000',
  },
}
SCSS
$custom: #187d16;
$custom-light: #69a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#187d16",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 118.835,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51489,
    "c": 0.16207,
    "h": 142.6
  },
  "luminance": 0.14919
}

Semantic roles & 50–950 ramp

primary
#187D16
secondary
#B03DB2
accent
#3BEDE9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187D16

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

Preview Lab → · Contrast checker → · Palette generator →

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