#187E5B#187E5B

#187E5B is a mid, moderate teal. Relative luminance 0.159; OKLCH L 52.9% C 0.105 H 164.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#187E5B
RGBrgb(24, 126, 91)
HSLhsl(159, 68%, 29%)
HSVhsv(159, 81%, 49%)
CMYKcmyk(81%, 0%, 27.8%, 50.6%)
CIE-LABlab(46.80, -36.85, 11.22)
CIE-LCHlch(46.80, 38.52, 163.07°)
OKLaboklab(52.86% -0.101 0.0286)
OKLCHoklch(52.86% 0.105 164.2)
XYZxyz(9.7248, 15.8700, 12.4462)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E5B #7E183B
analogous
#187E28 #187E5B #186E7E
triadic
#187E5B #5B187E #7E5B18
tetradic
#187E5B #28187E #7E183B #6E7E18
square
#187E5B #28187E #7E183B #6E7E18
split-complementary
#187E5B #7E186E #7E2818
monochromatic
#051A13 #0E4B36 #187E5B #22B180 #37D9A2

Accessibility & contrast

On white

5.03
#187E5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#187E5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E5B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E5B#FFFFFF#000000##FFFFFF
##187E5B1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7459
Deuteranopia (green-blind)
#6F6B5D
Tritanopia (blue-blind)
#007E74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187e5b;
/* rgb */ color: rgb(24, 126, 91);
/* oklch */ color: oklch(52.9% 0.105 164.2);
Tailwind
colors: {
  custom: {
    50: '#68a489',
    500: '#187e5b',
    950: '#000000',
  },
}
SCSS
$custom: #187e5b;
$custom-light: #68a489;
$custom-dark: #000000;
JSON
{
  "hex": "#187e5b",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 91
  },
  "hsl": {
    "h": 159.412,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52855,
    "c": 0.10502,
    "h": 164.2
  },
  "luminance": 0.15871
}

Semantic roles & 50–950 ramp

primary
#187E5B
secondary
#B23F67
accent
#3D79EB
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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