#187F51#187F51

#187F51 is a mid, moderate teal. Relative luminance 0.160; OKLCH L 52.9% C 0.116 H 158.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#187F51
RGBrgb(24, 127, 81)
HSLhsl(153, 68%, 30%)
HSVhsv(153, 81%, 50%)
CMYKcmyk(81.1%, 0%, 36.2%, 50.2%)
CIE-LABlab(46.93, -39.61, 17.17)
CIE-LCHlch(46.93, 43.18, 156.56°)
OKLaboklab(52.89% -0.1072 0.0432)
OKLCHoklch(52.89% 0.116 158)
XYZxyz(9.4503, 15.9659, 10.3666)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F51 #7F1846
analogous
#187F1E #187F51 #187A7F
triadic
#187F51 #51187F #7F5118
tetradic
#187F51 #1E187F #7F1846 #7A7F18
square
#187F51 #1E187F #7F1846 #7A7F18
split-complementary
#187F51 #7F187A #7F1E18
monochromatic
#051A10 #0E4C30 #187F51 #22B272 #38D991

Accessibility & contrast

On white

5.01
#187F51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#187F51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F51
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F51#FFFFFF#000000##FFFFFF
##187F511.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744E
Deuteranopia (green-blind)
#726C54
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187f51;
/* rgb */ color: rgb(24, 127, 81);
/* oklch */ color: oklch(52.9% 0.116 158.0);
Tailwind
colors: {
  custom: {
    50: '#68a582',
    500: '#187f51',
    950: '#000000',
  },
}
SCSS
$custom: #187f51;
$custom-light: #68a582;
$custom-dark: #000000;
JSON
{
  "hex": "#187f51",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 81
  },
  "hsl": {
    "h": 153.204,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52889,
    "c": 0.11559,
    "h": 158
  },
  "luminance": 0.15967
}

Semantic roles & 50–950 ramp

primary
#187F51
secondary
#B33F73
accent
#3D8BEB
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187F51

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

Preview Lab → · Contrast checker → · Palette generator →

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