#187A51#187A51

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

Color values

HEX#187A51
RGBrgb(24, 122, 81)
HSLhsl(155, 67%, 29%)
HSVhsv(155, 80%, 48%)
CMYKcmyk(80.3%, 0%, 33.6%, 52.2%)
CIE-LABlab(45.23, -37.55, 14.86)
CIE-LCHlch(45.23, 40.38, 158.40°)
OKLaboklab(51.49% -0.102 0.0376)
OKLCHoklch(51.49% 0.109 159.8)
XYZxyz(8.8205, 14.7063, 10.1567)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A51 #7A1841
analogous
#187A20 #187A51 #18727A
triadic
#187A51 #51187A #7A5118
tetradic
#187A51 #20187A #7A1841 #727A18
square
#187A51 #20187A #7A1841 #727A18
split-complementary
#187A51 #7A1872 #7A2018
monochromatic
#051A11 #0E472F #187A51 #22AD73 #35D793

Accessibility & contrast

On white

5.33
#187A51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187A51
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A51#FFFFFF#000000##FFFFFF
##187A511.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78704E
Deuteranopia (green-blind)
#6D6854
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187a51;
/* rgb */ color: rgb(24, 122, 81);
/* oklch */ color: oklch(51.5% 0.109 159.8);
Tailwind
colors: {
  custom: {
    50: '#66a182',
    500: '#187a51',
    950: '#000000',
  },
}
SCSS
$custom: #187a51;
$custom-light: #66a182;
$custom-dark: #000000;
JSON
{
  "hex": "#187a51",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 81
  },
  "hsl": {
    "h": 154.898,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51487,
    "c": 0.10868,
    "h": 159.8
  },
  "luminance": 0.14707
}

Semantic roles & 50–950 ramp

primary
#187A51
secondary
#AF3F6E
accent
#3E86EA
background
#F6FAF7
surface
#EBF3EE
border
#C6CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187A51

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

Preview Lab → · Contrast checker → · Palette generator →

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