#187939#187939

#187939 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.131 H 149.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#187939
RGBrgb(24, 121, 57)
HSLhsl(140, 67%, 28%)
HSVhsv(140, 80%, 47%)
CMYKcmyk(80.2%, 0%, 52.9%, 52.5%)
CIE-LABlab(44.47, -41.95, 27.37)
CIE-LCHlch(44.47, 50.09, 146.88°)
OKLaboklab(50.72% -0.1127 0.0663)
OKLCHoklch(50.72% 0.131 149.5)
XYZxyz(7.9519, 14.1634, 6.1848)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187939 #791858
analogous
#277918 #187939 #187969
triadic
#187939 #391879 #793918
tetradic
#187939 #182779 #791858 #796918
square
#187939 #182779 #791858 #796918
split-complementary
#187939 #691879 #791827
monochromatic
#051A0C #0E4621 #187939 #22AC51 #35D76C

Accessibility & contrast

On white

5.48
#187939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#187939 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187939
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187939#FFFFFF#000000##FFFFFF
##1879391.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E34
Deuteranopia (green-blind)
#6F663E
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187939;
/* rgb */ color: rgb(24, 121, 57);
/* oklch */ color: oklch(50.7% 0.131 149.5);
Tailwind
colors: {
  custom: {
    50: '#66a171',
    500: '#187939',
    950: '#000000',
  },
}
SCSS
$custom: #187939;
$custom-light: #66a171;
$custom-dark: #000000;
JSON
{
  "hex": "#187939",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 140.412,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5072,
    "c": 0.13074,
    "h": 149.5
  },
  "luminance": 0.14164
}

Semantic roles & 50–950 ramp

primary
#187939
secondary
#AE3F88
accent
#3EAFEA
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187939

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

Preview Lab → · Contrast checker → · Palette generator →

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