#187D1D#187D1D

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

Color values

HEX#187D1D
RGBrgb(24, 125, 29)
HSLhsl(123, 68%, 29%)
HSVhsv(123, 81%, 49%)
CMYKcmyk(80.8%, 0%, 76.8%, 51%)
CIE-LABlab(45.56, -46.87, 41.78)
CIE-LCHlch(45.56, 62.79, 138.29°)
OKLaboklab(51.54% -0.127 0.0944)
OKLCHoklch(51.54% 0.158 143.4)
XYZxyz(7.9316, 14.9492, 3.6296)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D1D #7D1878
analogous
#467D18 #187D1D #187D50
triadic
#187D1D #1D187D #7D1D18
tetradic
#187D1D #18467D #7D1878 #7D5018
square
#187D1D #18467D #7D1878 #7D5018
split-complementary
#187D1D #50187D #7D1846
monochromatic
#051A06 #0E4A11 #187D1D #22B029 #37D93F

Accessibility & contrast

On white

5.26
#187D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187D1D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D1D#FFFFFF#000000##FFFFFF
##187D1D1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187d1d;
/* rgb */ color: rgb(24, 125, 29);
/* oklch */ color: oklch(51.5% 0.158 143.4);
Tailwind
colors: {
  custom: {
    50: '#69a460',
    500: '#187d1d',
    950: '#000000',
  },
}
SCSS
$custom: #187d1d;
$custom-light: #69a460;
$custom-dark: #000000;
JSON
{
  "hex": "#187d1d",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 122.97,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51538,
    "c": 0.15825,
    "h": 143.4
  },
  "luminance": 0.1495
}

Semantic roles & 50–950 ramp

primary
#187D1D
secondary
#B23FAC
accent
#3DE2EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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