#187A62#187A62

#187A62 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 51.9% C 0.094 H 171.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#187A62
RGBrgb(24, 122, 98)
HSLhsl(165, 67%, 29%)
HSVhsv(165, 80%, 48%)
CMYKcmyk(80.3%, 0%, 19.7%, 52.2%)
CIE-LABlab(45.63, -33.26, 5.44)
CIE-LCHlch(45.63, 33.71, 170.71°)
OKLaboklab(51.94% -0.0932 0.0138)
OKLCHoklch(51.94% 0.094 171.6)
XYZxyz(9.5397, 14.9939, 13.9442)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A62 #7A1830
analogous
#187A31 #187A62 #18617A
triadic
#187A62 #62187A #7A6218
tetradic
#187A62 #31187A #7A1830 #617A18
square
#187A62 #31187A #7A1830 #617A18
split-complementary
#187A62 #7A1861 #7A3118
monochromatic
#051A15 #0E4739 #187A62 #22AD8B #35D7B0

Accessibility & contrast

On white

5.25
#187A62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#187A62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A62
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A62#FFFFFF#000000##FFFFFF
##187A621.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767161
Deuteranopia (green-blind)
#6A6864
Tritanopia (blue-blind)
#007B73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187a62;
/* rgb */ color: rgb(24, 122, 98);
/* oklch */ color: oklch(51.9% 0.094 171.6);
Tailwind
colors: {
  custom: {
    50: '#67a18e',
    500: '#187a62',
    950: '#000000',
  },
}
SCSS
$custom: #187a62;
$custom-light: #67a18e;
$custom-dark: #000000;
JSON
{
  "hex": "#187a62",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 98
  },
  "hsl": {
    "h": 165.306,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51944,
    "c": 0.09422,
    "h": 171.6
  },
  "luminance": 0.14995
}

Semantic roles & 50–950 ramp

primary
#187A62
secondary
#AF3F5A
accent
#3E68EA
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #187A62

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

Preview Lab → · Contrast checker → · Palette generator →

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