#187D19#187D19

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

Color values

HEX#187D19
RGBrgb(24, 125, 25)
HSLhsl(121, 68%, 29%)
HSVhsv(121, 81%, 49%)
CMYKcmyk(80.8%, 0%, 80%, 51%)
CIE-LABlab(45.54, -47.18, 43.21)
CIE-LCHlch(45.54, 63.98, 137.52°)
OKLaboklab(51.51% -0.128 0.0969)
OKLCHoklch(51.51% 0.161 142.9)
XYZxyz(7.8853, 14.9307, 3.3858)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D19 #7D187C
analogous
#4A7D18 #187D19 #187D4C
triadic
#187D19 #19187D #7D1918
tetradic
#187D19 #184A7D #7D187C #7D4C18
square
#187D19 #184A7D #7D187C #7D4C18
split-complementary
#187D19 #4C187D #7D184A
monochromatic
#051A05 #0E4A0F #187D19 #22B023 #37D938

Accessibility & contrast

On white

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

On black

3.99
#187D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187D19#FFFFFF#000000##FFFFFF
##187D191.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807001
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d19;
/* rgb */ color: rgb(24, 125, 25);
/* oklch */ color: oklch(51.5% 0.161 142.9);
Tailwind
colors: {
  custom: {
    50: '#69a45e',
    500: '#187d19',
    950: '#000000',
  },
}
SCSS
$custom: #187d19;
$custom-light: #69a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#187d19",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 120.594,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51508,
    "c": 0.16054,
    "h": 142.9
  },
  "luminance": 0.14932
}

Semantic roles & 50–950 ramp

primary
#187D19
secondary
#B23FB0
accent
#3DE9EB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187D19

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

Preview Lab → · Contrast checker → · Palette generator →

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