#187D51#187D51

#187D51 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.3% C 0.113 H 158.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#187D51
RGBrgb(24, 125, 81)
HSLhsl(154, 68%, 29%)
HSVhsv(154, 81%, 49%)
CMYKcmyk(80.8%, 0%, 35.2%, 51%)
CIE-LABlab(46.25, -38.79, 16.25)
CIE-LCHlch(46.25, 42.06, 157.27°)
OKLaboklab(52.33% -0.1051 0.041)
OKLCHoklch(52.33% 0.113 158.7)
XYZxyz(9.1946, 15.4544, 10.2814)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D51 #7D1844
analogous
#187D1E #187D51 #18777D
triadic
#187D51 #51187D #7D5118
tetradic
#187D51 #1E187D #7D1844 #777D18
square
#187D51 #1E187D #7D1844 #777D18
split-complementary
#187D51 #7D1877 #7D1E18
monochromatic
#051A11 #0E4A30 #187D51 #22B072 #37D992

Accessibility & contrast

On white

5.13
#187D51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#187D51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D51
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D51#FFFFFF#000000##FFFFFF
##187D511.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734E
Deuteranopia (green-blind)
#706A54
Tritanopia (blue-blind)
#007C72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187d51;
/* rgb */ color: rgb(24, 125, 81);
/* oklch */ color: oklch(52.3% 0.113 158.7);
Tailwind
colors: {
  custom: {
    50: '#67a382',
    500: '#187d51',
    950: '#000000',
  },
}
SCSS
$custom: #187d51;
$custom-light: #67a382;
$custom-dark: #000000;
JSON
{
  "hex": "#187d51",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 81
  },
  "hsl": {
    "h": 153.861,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52329,
    "c": 0.11283,
    "h": 158.7
  },
  "luminance": 0.15456
}

Semantic roles & 50–950 ramp

primary
#187D51
secondary
#B23F71
accent
#3D89EB
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187D51

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

Preview Lab → · Contrast checker → · Palette generator →

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