#187962#187962

#187962 is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.7% C 0.093 H 172.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#187962
RGBrgb(24, 121, 98)
HSLhsl(166, 67%, 28%)
HSVhsv(166, 80%, 47%)
CMYKcmyk(80.2%, 0%, 19%, 52.5%)
CIE-LABlab(45.29, -32.81, 4.96)
CIE-LCHlch(45.29, 33.18, 171.41°)
OKLaboklab(51.67% -0.0921 0.0126)
OKLCHoklch(51.67% 0.093 172.2)
XYZxyz(9.4175, 14.7496, 13.9035)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187962 #79182F
analogous
#187931 #187962 #185F79
triadic
#187962 #621879 #796218
tetradic
#187962 #311879 #79182F #5F7918
square
#187962 #311879 #79182F #5F7918
split-complementary
#187962 #79185F #793118
monochromatic
#051A15 #0E4639 #187962 #22AC8B #35D7B0

Accessibility & contrast

On white

5.32
#187962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#187962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187962
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187962#FFFFFF#000000##FFFFFF
##1879621.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757061
Deuteranopia (green-blind)
#696764
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187962;
/* rgb */ color: rgb(24, 121, 98);
/* oklch */ color: oklch(51.7% 0.093 172.2);
Tailwind
colors: {
  custom: {
    50: '#67a08e',
    500: '#187962',
    950: '#000000',
  },
}
SCSS
$custom: #187962;
$custom-light: #67a08e;
$custom-dark: #000000;
JSON
{
  "hex": "#187962",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 98
  },
  "hsl": {
    "h": 165.773,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51668,
    "c": 0.09299,
    "h": 172.2
  },
  "luminance": 0.14751
}

Semantic roles & 50–950 ramp

primary
#187962
secondary
#AE3F59
accent
#3E67EA
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #187962

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

Preview Lab → · Contrast checker → · Palette generator →

#187962 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva