#187E39#187E39

#187E39 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.137 H 148.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#187E39
RGBrgb(24, 126, 57)
HSLhsl(139, 68%, 29%)
HSVhsv(139, 81%, 49%)
CMYKcmyk(81%, 0%, 54.8%, 50.6%)
CIE-LABlab(46.19, -43.81, 29.49)
CIE-LCHlch(46.19, 52.81, 146.05°)
OKLaboklab(52.15% -0.1177 0.071)
OKLCHoklch(52.15% 0.137 148.9)
XYZxyz(8.5754, 15.4103, 6.3926)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E39 #7E185D
analogous
#2A7E18 #187E39 #187E6C
triadic
#187E39 #39187E #7E3918
tetradic
#187E39 #182A7E #7E185D #7E6C18
square
#187E39 #182A7E #7E185D #7E6C18
split-complementary
#187E39 #6C187E #7E182A
monochromatic
#051A0C #0E4B22 #187E39 #22B150 #37D96C

Accessibility & contrast

On white

5.14
#187E39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#187E39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E39
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E39#FFFFFF#000000##FFFFFF
##187E391.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7233
Deuteranopia (green-blind)
#746A3E
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e39;
/* rgb */ color: rgb(24, 126, 57);
/* oklch */ color: oklch(52.1% 0.137 148.9);
Tailwind
colors: {
  custom: {
    50: '#68a471',
    500: '#187e39',
    950: '#000000',
  },
}
SCSS
$custom: #187e39;
$custom-light: #68a471;
$custom-dark: #000000;
JSON
{
  "hex": "#187e39",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 57
  },
  "hsl": {
    "h": 139.412,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52148,
    "c": 0.13744,
    "h": 148.9
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#187E39
secondary
#B23F8D
accent
#3DB3EB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187E39

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

Preview Lab → · Contrast checker → · Palette generator →

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