#187C1D#187C1D

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

Color values

HEX#187C1D
RGBrgb(24, 124, 29)
HSLhsl(123, 68%, 29%)
HSVhsv(123, 81%, 49%)
CMYKcmyk(80.6%, 0%, 76.6%, 51.4%)
CIE-LABlab(45.22, -46.53, 41.43)
CIE-LCHlch(45.22, 62.30, 138.32°)
OKLaboklab(51.25% -0.1261 0.0937)
OKLCHoklch(51.25% 0.157 143.4)
XYZxyz(7.8056, 14.6973, 3.5876)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C1D #7C1877
analogous
#457C18 #187C1D #187C4F
triadic
#187C1D #1D187C #7C1D18
tetradic
#187C1D #18457C #7C1877 #7C4F18
square
#187C1D #18457C #7C1877 #7C4F18
split-complementary
#187C1D #4F187C #7C1845
monochromatic
#051A06 #0E4911 #187C1D #22AF29 #36D83E

Accessibility & contrast

On white

5.33
#187C1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#187C1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C1D
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C1D#FFFFFF#000000##FFFFFF
##187C1D1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700B
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c1d;
/* rgb */ color: rgb(24, 124, 29);
/* oklch */ color: oklch(51.2% 0.157 143.4);
Tailwind
colors: {
  custom: {
    50: '#69a360',
    500: '#187c1d',
    950: '#000000',
  },
}
SCSS
$custom: #187c1d;
$custom-light: #69a360;
$custom-dark: #000000;
JSON
{
  "hex": "#187c1d",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 123,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.15708,
    "h": 143.4
  },
  "luminance": 0.14698
}

Semantic roles & 50–950 ramp

primary
#187C1D
secondary
#B13FAB
accent
#3DE2EA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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