#187A7A#187A7A

#187A7A is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.8% C 0.084 H 194.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#187A7A
RGBrgb(24, 122, 122)
HSLhsl(180, 67%, 29%)
HSVhsv(180, 80%, 48%)
CMYKcmyk(80.3%, 0%, 0%, 52.2%)
CIE-LABlab(46.33, -26.15, -7.77)
CIE-LCHlch(46.33, 27.28, 196.55°)
OKLaboklab(52.76% -0.0812 -0.0216)
OKLCHoklch(52.76% 0.084 194.9)
XYZxyz(10.8474, 15.5170, 20.8320)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A7A #7A1818
analogous
#187A49 #187A7A #18497A
triadic
#187A7A #7A187A #7A7A18
tetradic
#187A7A #49187A #7A1818 #497A18
square
#187A7A #49187A #7A1818 #497A18
split-complementary
#187A7A #7A1849 #7A4918
monochromatic
#051A1A #0E4747 #187A7A #22ADAD #35D7D7

Accessibility & contrast

On white

5.12
#187A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#187A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A7A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A7A#FFFFFF#000000##FFFFFF
##187A7A1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71747A
Deuteranopia (green-blind)
#64697B
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187a7a;
/* rgb */ color: rgb(24, 122, 122);
/* oklch */ color: oklch(52.8% 0.084 194.9);
Tailwind
colors: {
  custom: {
    50: '#69a1a0',
    500: '#187a7a',
    950: '#000000',
  },
}
SCSS
$custom: #187a7a;
$custom-light: #69a1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#187a7a",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 122
  },
  "hsl": {
    "h": 180,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52757,
    "c": 0.08408,
    "h": 194.9
  },
  "luminance": 0.15518
}

Semantic roles & 50–950 ramp

primary
#187A7A
secondary
#AF3F3F
accent
#3E3EEA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0E
muted
#7A7E7E

Preview Lab

Preview with #187A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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