#187A47#187A47

#187A47 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.3% C 0.118 H 154.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#187A47
RGBrgb(24, 122, 71)
HSLhsl(149, 67%, 29%)
HSVhsv(149, 80%, 48%)
CMYKcmyk(80.3%, 0%, 41.8%, 52.2%)
CIE-LABlab(45.04, -39.73, 20.35)
CIE-LCHlch(45.04, 44.64, 152.88°)
OKLaboklab(51.26% -0.107 0.0506)
OKLCHoklch(51.26% 0.118 154.7)
XYZxyz(8.4727, 14.5672, 8.3252)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A47 #7A184B
analogous
#1A7A18 #187A47 #187A78
triadic
#187A47 #47187A #7A4718
tetradic
#187A47 #181A7A #7A184B #7A7818
square
#187A47 #181A7A #7A184B #7A7818
split-complementary
#187A47 #78187A #7A181A
monochromatic
#051A0F #0E4729 #187A47 #22AD65 #35D783

Accessibility & contrast

On white

5.37
#187A47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#187A47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A47
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A47#FFFFFF#000000##FFFFFF
##187A471.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F43
Deuteranopia (green-blind)
#6E674A
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187a47;
/* rgb */ color: rgb(24, 122, 71);
/* oklch */ color: oklch(51.3% 0.118 154.7);
Tailwind
colors: {
  custom: {
    50: '#66a17a',
    500: '#187a47',
    950: '#000000',
  },
}
SCSS
$custom: #187a47;
$custom-light: #66a17a;
$custom-dark: #000000;
JSON
{
  "hex": "#187a47",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 71
  },
  "hsl": {
    "h": 148.776,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51264,
    "c": 0.11841,
    "h": 154.7
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#187A47
secondary
#AF3F79
accent
#3E97EA
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187A47

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

Preview Lab → · Contrast checker → · Palette generator →

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