#187D5F#187D5F

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

Color values

HEX#187D5F
RGBrgb(24, 125, 95)
HSLhsl(162, 68%, 29%)
HSVhsv(162, 81%, 49%)
CMYKcmyk(80.8%, 0%, 24%, 51%)
CIE-LABlab(46.56, -35.40, 8.54)
CIE-LCHlch(46.56, 36.41, 166.44°)
OKLaboklab(52.69% -0.0979 0.0218)
OKLCHoklch(52.69% 0.1 167.4)
XYZxyz(9.7747, 15.6864, 13.3369)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D5F #7D1836
analogous
#187D2D #187D5F #18697D
triadic
#187D5F #5F187D #7D5F18
tetradic
#187D5F #2D187D #7D1836 #697D18
square
#187D5F #2D187D #7D1836 #697D18
split-complementary
#187D5F #7D1869 #7D2D18
monochromatic
#051A14 #0E4A38 #187D5F #22B086 #37D9A9

Accessibility & contrast

On white

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

On black

4.14
#187D5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187D5F#FFFFFF#000000##FFFFFF
##187D5F1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745D
Deuteranopia (green-blind)
#6D6B61
Tritanopia (blue-blind)
#007E75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187d5f;
/* rgb */ color: rgb(24, 125, 95);
/* oklch */ color: oklch(52.7% 0.100 167.4);
Tailwind
colors: {
  custom: {
    50: '#68a38c',
    500: '#187d5f',
    950: '#000000',
  },
}
SCSS
$custom: #187d5f;
$custom-light: #68a38c;
$custom-dark: #000000;
JSON
{
  "hex": "#187d5f",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 95
  },
  "hsl": {
    "h": 162.178,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52686,
    "c": 0.10033,
    "h": 167.4
  },
  "luminance": 0.15688
}

Semantic roles & 50–950 ramp

primary
#187D5F
secondary
#B23F61
accent
#3D71EB
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #187D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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