#187D39#187D39

#187D39 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.136 H 149.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#187D39
RGBrgb(24, 125, 57)
HSLhsl(140, 68%, 29%)
HSVhsv(140, 81%, 49%)
CMYKcmyk(80.8%, 0%, 54.4%, 51%)
CIE-LABlab(45.85, -43.44, 29.07)
CIE-LCHlch(45.85, 52.27, 146.21°)
OKLaboklab(51.86% -0.1167 0.0701)
OKLCHoklch(51.86% 0.136 149)
XYZxyz(8.4481, 15.1558, 6.3502)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D39 #7D185C
analogous
#2A7D18 #187D39 #187D6C
triadic
#187D39 #39187D #7D3918
tetradic
#187D39 #182A7D #7D185C #7D6C18
square
#187D39 #182A7D #7D185C #7D6C18
split-complementary
#187D39 #6C187D #7D182A
monochromatic
#051A0C #0E4A22 #187D39 #22B050 #37D96C

Accessibility & contrast

On white

5.21
#187D39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#187D39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D39
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D39#FFFFFF#000000##FFFFFF
##187D391.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7133
Deuteranopia (green-blind)
#73693E
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187d39;
/* rgb */ color: rgb(24, 125, 57);
/* oklch */ color: oklch(51.9% 0.136 149.0);
Tailwind
colors: {
  custom: {
    50: '#68a471',
    500: '#187d39',
    950: '#000000',
  },
}
SCSS
$custom: #187d39;
$custom-light: #68a471;
$custom-dark: #000000;
JSON
{
  "hex": "#187d39",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 57
  },
  "hsl": {
    "h": 139.604,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51863,
    "c": 0.13612,
    "h": 149
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

primary
#187D39
secondary
#B23F8C
accent
#3DB2EB
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187D39

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

Preview Lab → · Contrast checker → · Palette generator →

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