#187B1D#187B1D

#187B1D is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.156 H 143.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#187B1D
RGBrgb(24, 123, 29)
HSLhsl(123, 67%, 29%)
HSVhsv(123, 80%, 48%)
CMYKcmyk(80.5%, 0%, 76.4%, 51.8%)
CIE-LABlab(44.87, -46.19, 41.08)
CIE-LCHlch(44.87, 61.82, 138.36°)
OKLaboklab(50.96% -0.1251 0.093)
OKLCHoklch(50.96% 0.156 143.4)
XYZxyz(7.6809, 14.4479, 3.5461)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B1D #7B1876
analogous
#457B18 #187B1D #187B4F
triadic
#187B1D #1D187B #7B1D18
tetradic
#187B1D #18457B #7B1876 #7B4F18
square
#187B1D #18457B #7B1876 #7B4F18
split-complementary
#187B1D #4F187B #7B1845
monochromatic
#051A06 #0E4811 #187B1D #22AE29 #36D83E

Accessibility & contrast

On white

5.40
#187B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#187B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B1D
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B1D#FFFFFF#000000##FFFFFF
##187B1D1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0B
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b1d;
/* rgb */ color: rgb(24, 123, 29);
/* oklch */ color: oklch(51.0% 0.156 143.4);
Tailwind
colors: {
  custom: {
    50: '#68a260',
    500: '#187b1d',
    950: '#000000',
  },
}
SCSS
$custom: #187b1d;
$custom-light: #68a260;
$custom-dark: #000000;
JSON
{
  "hex": "#187b1d",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 123.03,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50959,
    "c": 0.1559,
    "h": 143.4
  },
  "luminance": 0.14449
}

Semantic roles & 50–950 ramp

primary
#187B1D
secondary
#B03FAA
accent
#3EE2EA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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