#187A52#187A52

#187A52 is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.5% C 0.108 H 160.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#187A52
RGBrgb(24, 122, 82)
HSLhsl(156, 67%, 29%)
HSVhsv(156, 80%, 48%)
CMYKcmyk(80.3%, 0%, 32.8%, 52.2%)
CIE-LABlab(45.25, -37.32, 14.31)
CIE-LCHlch(45.25, 39.97, 159.02°)
OKLaboklab(51.51% -0.1015 0.0363)
OKLCHoklch(51.51% 0.108 160.3)
XYZxyz(8.8583, 14.7214, 10.3557)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A52 #7A1840
analogous
#187A21 #187A52 #18717A
triadic
#187A52 #52187A #7A5218
tetradic
#187A52 #21187A #7A1840 #717A18
square
#187A52 #21187A #7A1840 #717A18
split-complementary
#187A52 #7A1871 #7A2118
monochromatic
#051A11 #0E4730 #187A52 #22AD74 #35D795

Accessibility & contrast

On white

5.32
#187A52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#187A52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187A52#FFFFFF#000000##FFFFFF
##187A521.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787050
Deuteranopia (green-blind)
#6D6855
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187a52;
/* rgb */ color: rgb(24, 122, 82);
/* oklch */ color: oklch(51.5% 0.108 160.3);
Tailwind
colors: {
  custom: {
    50: '#66a182',
    500: '#187a52',
    950: '#000000',
  },
}
SCSS
$custom: #187a52;
$custom-light: #66a182;
$custom-dark: #000000;
JSON
{
  "hex": "#187a52",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 82
  },
  "hsl": {
    "h": 155.51,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.10774,
    "h": 160.3
  },
  "luminance": 0.14722
}

Semantic roles & 50–950 ramp

primary
#187A52
secondary
#AF3F6D
accent
#3E84EA
background
#F6FAF8
surface
#EBF3EF
border
#C6CDCA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187A52

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

Preview Lab → · Contrast checker → · Palette generator →

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