#187F62#187F62

#187F62 is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.3% C 0.101 H 168.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#187F62
RGBrgb(24, 127, 98)
HSLhsl(163, 68%, 30%)
HSVhsv(163, 81%, 50%)
CMYKcmyk(81.1%, 0%, 22.8%, 50.2%)
CIE-LABlab(47.31, -35.50, 7.83)
CIE-LCHlch(47.31, 36.35, 167.56°)
OKLaboklab(53.32% -0.0985 0.02)
OKLCHoklch(53.32% 0.101 168.5)
XYZxyz(10.1694, 16.2535, 14.1542)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F62 #7F1835
analogous
#187F2F #187F62 #18697F
triadic
#187F62 #62187F #7F6218
tetradic
#187F62 #2F187F #7F1835 #697F18
square
#187F62 #2F187F #7F1835 #697F18
split-complementary
#187F62 #7F1869 #7F2F18
monochromatic
#051A14 #0E4C3A #187F62 #22B28A #38D9AC

Accessibility & contrast

On white

4.94
#187F62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#187F62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F62
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F62#FFFFFF#000000##FFFFFF
##187F621.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7660
Deuteranopia (green-blind)
#6F6C64
Tritanopia (blue-blind)
#008077
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #187f62;
/* rgb */ color: rgb(24, 127, 98);
/* oklch */ color: oklch(53.3% 0.101 168.5);
Tailwind
colors: {
  custom: {
    50: '#68a58e',
    500: '#187f62',
    950: '#000000',
  },
}
SCSS
$custom: #187f62;
$custom-light: #68a58e;
$custom-dark: #000000;
JSON
{
  "hex": "#187f62",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 98
  },
  "hsl": {
    "h": 163.107,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53322,
    "c": 0.10051,
    "h": 168.5
  },
  "luminance": 0.16255
}

Semantic roles & 50–950 ramp

primary
#187F62
secondary
#B33F60
accent
#3D6EEB
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #187F62

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

Preview Lab → · Contrast checker → · Palette generator →

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