#187A6F#187A6F

#187A6F is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.4% C 0.087 H 183.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#187A6F
RGBrgb(24, 122, 111)
HSLhsl(173, 67%, 29%)
HSVhsv(173, 80%, 48%)
CMYKcmyk(80.3%, 0%, 9%, 52.2%)
CIE-LABlab(45.99, -29.55, -1.75)
CIE-LCHlch(45.99, 29.60, 183.38°)
OKLaboklab(52.36% -0.0866 -0.0052)
OKLCHoklch(52.36% 0.087 183.4)
XYZxyz(10.2041, 15.2597, 17.4435)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A6F #7A1823
analogous
#187A3E #187A6F #18547A
triadic
#187A6F #6F187A #7A6F18
tetradic
#187A6F #3E187A #7A1823 #547A18
square
#187A6F #3E187A #7A1823 #547A18
split-complementary
#187A6F #7A1854 #7A3E18
monochromatic
#051A17 #0E4740 #187A6F #22AD9E #35D7C5

Accessibility & contrast

On white

5.18
#187A6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#187A6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A6F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A6F#FFFFFF#000000##FFFFFF
##187A6F1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74726F
Deuteranopia (green-blind)
#676970
Tritanopia (blue-blind)
#007D77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187a6f;
/* rgb */ color: rgb(24, 122, 111);
/* oklch */ color: oklch(52.4% 0.087 183.4);
Tailwind
colors: {
  custom: {
    50: '#68a198',
    500: '#187a6f',
    950: '#000000',
  },
}
SCSS
$custom: #187a6f;
$custom-light: #68a198;
$custom-dark: #000000;
JSON
{
  "hex": "#187a6f",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 111
  },
  "hsl": {
    "h": 173.265,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.08677,
    "h": 183.4
  },
  "luminance": 0.15261
}

Semantic roles & 50–950 ramp

primary
#187A6F
secondary
#AF3F4C
accent
#3E51EA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #187A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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