#187A1D#187A1D

#187A1D is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.155 H 143.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#187A1D
RGBrgb(24, 122, 29)
HSLhsl(123, 67%, 29%)
HSVhsv(123, 80%, 48%)
CMYKcmyk(80.3%, 0%, 76.2%, 52.2%)
CIE-LABlab(44.52, -45.86, 40.72)
CIE-LCHlch(44.52, 61.33, 138.39°)
OKLaboklab(50.67% -0.1242 0.0922)
OKLCHoklch(50.67% 0.155 143.4)
XYZxyz(7.5575, 14.2011, 3.5049)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A1D #7A1875
analogous
#447A18 #187A1D #187A4E
triadic
#187A1D #1D187A #7A1D18
tetradic
#187A1D #18447A #7A1875 #7A4E18
square
#187A1D #18447A #7A1875 #7A4E18
split-complementary
#187A1D #4E187A #7A1844
monochromatic
#051A06 #0E4711 #187A1D #22AD29 #35D73D

Accessibility & contrast

On white

5.47
#187A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#187A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A1D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A1D#FFFFFF#000000##FFFFFF
##187A1D1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0C
Deuteranopia (green-blind)
#726627
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187a1d;
/* rgb */ color: rgb(24, 122, 29);
/* oklch */ color: oklch(50.7% 0.155 143.4);
Tailwind
colors: {
  custom: {
    50: '#68a160',
    500: '#187a1d',
    950: '#000000',
  },
}
SCSS
$custom: #187a1d;
$custom-light: #68a160;
$custom-dark: #000000;
JSON
{
  "hex": "#187a1d",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 123.061,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50669,
    "c": 0.15472,
    "h": 143.4
  },
  "luminance": 0.14202
}

Semantic roles & 50–950 ramp

primary
#187A1D
secondary
#AF3FA9
accent
#3EE1EA
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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