#187A5A#187A5A

#187A5A is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.7% C 0.101 H 165.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#187A5A
RGBrgb(24, 122, 90)
HSLhsl(160, 67%, 29%)
HSVhsv(160, 80%, 48%)
CMYKcmyk(80.3%, 0%, 26.2%, 52.2%)
CIE-LABlab(45.43, -35.37, 9.88)
CIE-LCHlch(45.43, 36.72, 164.39°)
OKLaboklab(51.72% -0.0973 0.0252)
OKLCHoklch(51.72% 0.101 165.5)
XYZxyz(9.1806, 14.8503, 12.0534)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A5A #7A1838
analogous
#187A29 #187A5A #18697A
triadic
#187A5A #5A187A #7A5A18
tetradic
#187A5A #29187A #7A1838 #697A18
square
#187A5A #29187A #7A1838 #697A18
split-complementary
#187A5A #7A1869 #7A2918
monochromatic
#051A13 #0E4734 #187A5A #22AD80 #35D7A2

Accessibility & contrast

On white

5.29
#187A5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#187A5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A5A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A5A#FFFFFF#000000##FFFFFF
##187A5A1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777158
Deuteranopia (green-blind)
#6B685C
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187a5a;
/* rgb */ color: rgb(24, 122, 90);
/* oklch */ color: oklch(51.7% 0.101 165.5);
Tailwind
colors: {
  custom: {
    50: '#67a188',
    500: '#187a5a',
    950: '#000000',
  },
}
SCSS
$custom: #187a5a;
$custom-light: #67a188;
$custom-dark: #000000;
JSON
{
  "hex": "#187a5a",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 90
  },
  "hsl": {
    "h": 160.408,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.10054,
    "h": 165.5
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#187A5A
secondary
#AF3F64
accent
#3E76EA
background
#F6FAF8
surface
#EBF3EF
border
#C6CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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