#187D47#187D47

#187D47 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.123 H 154.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#187D47
RGBrgb(24, 125, 71)
HSLhsl(148, 68%, 29%)
HSVhsv(148, 81%, 49%)
CMYKcmyk(80.8%, 0%, 43.2%, 51%)
CIE-LABlab(46.06, -40.92, 21.70)
CIE-LCHlch(46.06, 46.31, 152.06°)
OKLaboklab(52.11% -0.1101 0.0538)
OKLCHoklch(52.11% 0.123 154)
XYZxyz(8.8468, 15.3153, 8.4499)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D47 #7D184E
analogous
#1C7D18 #187D47 #187D7A
triadic
#187D47 #47187D #7D4718
tetradic
#187D47 #181C7D #7D184E #7D7A18
square
#187D47 #181C7D #7D184E #7D7A18
split-complementary
#187D47 #7A187D #7D181C
monochromatic
#051A0F #0E4A2A #187D47 #22B064 #37D982

Accessibility & contrast

On white

5.17
#187D47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#187D47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D47
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D47#FFFFFF#000000##FFFFFF
##187D471.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7243
Deuteranopia (green-blind)
#716A4B
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187d47;
/* rgb */ color: rgb(24, 125, 71);
/* oklch */ color: oklch(52.1% 0.123 154.0);
Tailwind
colors: {
  custom: {
    50: '#67a47b',
    500: '#187d47',
    950: '#000000',
  },
}
SCSS
$custom: #187d47;
$custom-light: #67a47b;
$custom-dark: #000000;
JSON
{
  "hex": "#187d47",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 71
  },
  "hsl": {
    "h": 147.921,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52113,
    "c": 0.12257,
    "h": 154
  },
  "luminance": 0.15316
}

Semantic roles & 50–950 ramp

primary
#187D47
secondary
#B23F7C
accent
#3D9AEB
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187D47

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

Preview Lab → · Contrast checker → · Palette generator →

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