#187D4A#187D4A

#187D4A is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.2% C 0.120 H 155.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#187D4A
RGBrgb(24, 125, 74)
HSLhsl(150, 68%, 29%)
HSVhsv(150, 81%, 49%)
CMYKcmyk(80.8%, 0%, 40.8%, 51%)
CIE-LABlab(46.12, -40.31, 20.07)
CIE-LCHlch(46.12, 45.03, 153.53°)
OKLaboklab(52.17% -0.1086 0.0501)
OKLCHoklch(52.17% 0.12 155.3)
XYZxyz(8.9455, 15.3547, 8.9695)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D4A #7D184B
analogous
#197D18 #187D4A #187D7D
triadic
#187D4A #4A187D #7D4A18
tetradic
#187D4A #18197D #7D184B #7D7D18
square
#187D4A #18197D #7D184B #7D7D18
split-complementary
#187D4A #7D187D #7D1819
monochromatic
#051A0F #0E4A2C #187D4A #22B068 #37D987

Accessibility & contrast

On white

5.16
#187D4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#187D4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D4A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D4A#FFFFFF#000000##FFFFFF
##187D4A1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7247
Deuteranopia (green-blind)
#716A4D
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187d4a;
/* rgb */ color: rgb(24, 125, 74);
/* oklch */ color: oklch(52.2% 0.120 155.3);
Tailwind
colors: {
  custom: {
    50: '#67a37d',
    500: '#187d4a',
    950: '#000000',
  },
}
SCSS
$custom: #187d4a;
$custom-light: #67a37d;
$custom-dark: #000000;
JSON
{
  "hex": "#187d4a",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 74
  },
  "hsl": {
    "h": 149.703,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.11962,
    "h": 155.3
  },
  "luminance": 0.15356
}

Semantic roles & 50–950 ramp

primary
#187D4A
secondary
#B23F79
accent
#3D95EB
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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