#187D1E#187D1E

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

Color values

HEX#187D1E
RGBrgb(24, 125, 30)
HSLhsl(124, 68%, 29%)
HSVhsv(124, 81%, 49%)
CMYKcmyk(80.8%, 0%, 76%, 51%)
CIE-LABlab(45.57, -46.78, 41.40)
CIE-LCHlch(45.57, 62.47, 138.49°)
OKLaboklab(51.55% -0.1267 0.0938)
OKLCHoklch(51.55% 0.158 143.5)
XYZxyz(7.9441, 14.9542, 3.6958)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D1E #7D1877
analogous
#457D18 #187D1E #187D51
triadic
#187D1E #1E187D #7D1E18
tetradic
#187D1E #18457D #7D1877 #7D5118
square
#187D1E #18457D #7D1877 #7D5118
split-complementary
#187D1E #51187D #7D1845
monochromatic
#051A06 #0E4A12 #187D1E #22B02A #37D940

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187D1E#FFFFFF#000000##FFFFFF
##187D1E1.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)
#80710C
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d1e;
/* rgb */ color: rgb(24, 125, 30);
/* oklch */ color: oklch(51.5% 0.158 143.5);
Tailwind
colors: {
  custom: {
    50: '#69a460',
    500: '#187d1e',
    950: '#000000',
  },
}
SCSS
$custom: #187d1e;
$custom-light: #69a460;
$custom-dark: #000000;
JSON
{
  "hex": "#187d1e",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 123.564,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51546,
    "c": 0.15764,
    "h": 143.5
  },
  "luminance": 0.14955
}

Semantic roles & 50–950 ramp

primary
#187D1E
secondary
#B23FAB
accent
#3DE0EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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