#187F4D#187F4D

#187F4D is a mid, moderate teal. Relative luminance 0.159; OKLCH L 52.8% C 0.119 H 156.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#187F4D
RGBrgb(24, 127, 77)
HSLhsl(151, 68%, 30%)
HSVhsv(151, 81%, 50%)
CMYKcmyk(81.1%, 0%, 39.4%, 50.2%)
CIE-LABlab(46.85, -40.48, 19.35)
CIE-LCHlch(46.85, 44.87, 154.45°)
OKLaboklab(52.8% -0.1092 0.0484)
OKLCHoklch(52.8% 0.119 156.1)
XYZxyz(9.3047, 15.9076, 9.5998)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F4D #7F184A
analogous
#187F1A #187F4D #187E7F
triadic
#187F4D #4D187F #7F4D18
tetradic
#187F4D #1A187F #7F184A #7E7F18
square
#187F4D #1A187F #7F184A #7E7F18
split-complementary
#187F4D #7F187E #7F1A18
monochromatic
#051A10 #0E4C2E #187F4D #22B26C #38D98B

Accessibility & contrast

On white

5.02
#187F4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#187F4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F4D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F4D#FFFFFF#000000##FFFFFF
##187F4D1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744A
Deuteranopia (green-blind)
#726C50
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187f4d;
/* rgb */ color: rgb(24, 127, 77);
/* oklch */ color: oklch(52.8% 0.119 156.1);
Tailwind
colors: {
  custom: {
    50: '#68a57f',
    500: '#187f4d',
    950: '#000000',
  },
}
SCSS
$custom: #187f4d;
$custom-light: #68a57f;
$custom-dark: #000000;
JSON
{
  "hex": "#187f4d",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 77
  },
  "hsl": {
    "h": 150.874,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.528,
    "c": 0.11946,
    "h": 156.1
  },
  "luminance": 0.15909
}

Semantic roles & 50–950 ramp

primary
#187F4D
secondary
#B33F78
accent
#3D91EB
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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