#187D42#187D42

#187D42 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.127 H 152.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#187D42
RGBrgb(24, 125, 66)
HSLhsl(145, 68%, 29%)
HSVhsv(145, 81%, 49%)
CMYKcmyk(80.8%, 0%, 47.2%, 51%)
CIE-LABlab(45.98, -41.88, 24.37)
CIE-LCHlch(45.98, 48.46, 149.80°)
OKLaboklab(52.02% -0.1125 0.0599)
OKLCHoklch(52.02% 0.127 152)
XYZxyz(8.6929, 15.2537, 7.6393)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D42 #7D1853
analogous
#217D18 #187D42 #187D75
triadic
#187D42 #42187D #7D4218
tetradic
#187D42 #18217D #7D1853 #7D7518
square
#187D42 #18217D #7D1853 #7D7518
split-complementary
#187D42 #75187D #7D1821
monochromatic
#051A0E #0E4A27 #187D42 #22B05D #37D97A

Accessibility & contrast

On white

5.18
#187D42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#187D42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D42
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D42#FFFFFF#000000##FFFFFF
##187D421.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723D
Deuteranopia (green-blind)
#726A46
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187d42;
/* rgb */ color: rgb(24, 125, 66);
/* oklch */ color: oklch(52.0% 0.127 152.0);
Tailwind
colors: {
  custom: {
    50: '#67a477',
    500: '#187d42',
    950: '#000000',
  },
}
SCSS
$custom: #187d42;
$custom-light: #67a477;
$custom-dark: #000000;
JSON
{
  "hex": "#187d42",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 66
  },
  "hsl": {
    "h": 144.95,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52016,
    "c": 0.12748,
    "h": 152
  },
  "luminance": 0.15255
}

Semantic roles & 50–950 ramp

primary
#187D42
secondary
#B23F82
accent
#3DA3EB
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187D42

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

Preview Lab → · Contrast checker → · Palette generator →

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