#187839#187839

#187839 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.129 H 149.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#187839
RGBrgb(24, 120, 57)
HSLhsl(141, 67%, 28%)
HSVhsv(141, 80%, 47%)
CMYKcmyk(80%, 0%, 52.5%, 52.9%)
CIE-LABlab(44.12, -41.57, 26.94)
CIE-LCHlch(44.12, 49.54, 147.05°)
OKLaboklab(50.43% -0.1117 0.0653)
OKLCHoklch(50.43% 0.129 149.7)
XYZxyz(7.8310, 13.9216, 6.1445)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187839 #781857
analogous
#277818 #187839 #187869
triadic
#187839 #391878 #783918
tetradic
#187839 #182778 #781857 #786918
square
#187839 #182778 #781857 #786918
split-complementary
#187839 #691878 #781827
monochromatic
#051A0C #0E4521 #187839 #22AB51 #34D66C

Accessibility & contrast

On white

5.55
#187839 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#187839 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187839
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187839#FFFFFF#000000##FFFFFF
##1878391.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D34
Deuteranopia (green-blind)
#6E653E
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #187839;
/* rgb */ color: rgb(24, 120, 57);
/* oklch */ color: oklch(50.4% 0.129 149.7);
Tailwind
colors: {
  custom: {
    50: '#66a071',
    500: '#187839',
    950: '#000000',
  },
}
SCSS
$custom: #187839;
$custom-light: #66a071;
$custom-dark: #000000;
JSON
{
  "hex": "#187839",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 57
  },
  "hsl": {
    "h": 140.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50433,
    "c": 0.12938,
    "h": 149.7
  },
  "luminance": 0.13923
}

Semantic roles & 50–950 ramp

primary
#187839
secondary
#AD3F87
accent
#3EAFEA
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #187839

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

Preview Lab → · Contrast checker → · Palette generator →

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