#187947#187947

#187947 is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.0% C 0.117 H 154.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#187947
RGBrgb(24, 121, 71)
HSLhsl(149, 67%, 28%)
HSVhsv(149, 80%, 47%)
CMYKcmyk(80.2%, 0%, 41.3%, 52.5%)
CIE-LABlab(44.69, -39.33, 19.89)
CIE-LCHlch(44.69, 44.07, 153.17°)
OKLaboklab(50.98% -0.106 0.0496)
OKLCHoklch(50.98% 0.117 154.9)
XYZxyz(8.3506, 14.3229, 8.2845)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187947 #79184A
analogous
#197918 #187947 #187977
triadic
#187947 #471879 #794718
tetradic
#187947 #181979 #79184A #797718
square
#187947 #181979 #79184A #797718
split-complementary
#187947 #771879 #791819
monochromatic
#051A0F #0E4629 #187947 #22AC65 #35D783

Accessibility & contrast

On white

5.43
#187947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#187947 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187947
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187947#FFFFFF#000000##FFFFFF
##1879471.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F44
Deuteranopia (green-blind)
#6D664A
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187947;
/* rgb */ color: rgb(24, 121, 71);
/* oklch */ color: oklch(51.0% 0.117 154.9);
Tailwind
colors: {
  custom: {
    50: '#66a17a',
    500: '#187947',
    950: '#000000',
  },
}
SCSS
$custom: #187947;
$custom-light: #66a17a;
$custom-dark: #000000;
JSON
{
  "hex": "#187947",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 71
  },
  "hsl": {
    "h": 149.072,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5098,
    "c": 0.11701,
    "h": 154.9
  },
  "luminance": 0.14324
}

Semantic roles & 50–950 ramp

primary
#187947
secondary
#AE3F78
accent
#3E97EA
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187947

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

Preview Lab → · Contrast checker → · Palette generator →

#187947 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva