#187E4D#187E4D

#187E4D is a mid, moderate teal. Relative luminance 0.157; OKLCH L 52.5% C 0.118 H 156.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#187E4D
RGBrgb(24, 126, 77)
HSLhsl(151, 68%, 29%)
HSVhsv(151, 81%, 49%)
CMYKcmyk(81%, 0%, 38.9%, 50.6%)
CIE-LABlab(46.51, -40.08, 18.90)
CIE-LCHlch(46.51, 44.31, 154.75°)
OKLaboklab(52.52% -0.1082 0.0473)
OKLCHoklch(52.52% 0.118 156.4)
XYZxyz(9.1762, 15.6506, 9.5570)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E4D #7E1849
analogous
#187E1A #187E4D #187C7E
triadic
#187E4D #4D187E #7E4D18
tetradic
#187E4D #1A187E #7E1849 #7C7E18
square
#187E4D #1A187E #7E1849 #7C7E18
split-complementary
#187E4D #7E187C #7E1A18
monochromatic
#051A10 #0E4B2E #187E4D #22B16C #37D98B

Accessibility & contrast

On white

5.08
#187E4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#187E4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E4D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E4D#FFFFFF#000000##FFFFFF
##187E4D1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D734A
Deuteranopia (green-blind)
#716B50
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187e4d;
/* rgb */ color: rgb(24, 126, 77);
/* oklch */ color: oklch(52.5% 0.118 156.4);
Tailwind
colors: {
  custom: {
    50: '#67a47f',
    500: '#187e4d',
    950: '#000000',
  },
}
SCSS
$custom: #187e4d;
$custom-light: #67a47f;
$custom-dark: #000000;
JSON
{
  "hex": "#187e4d",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 77
  },
  "hsl": {
    "h": 151.176,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52519,
    "c": 0.11808,
    "h": 156.4
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#187E4D
secondary
#B23F77
accent
#3D90EB
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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