#187E51#187E51

#187E51 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 52.6% C 0.114 H 158.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#187E51
RGBrgb(24, 126, 81)
HSLhsl(154, 68%, 29%)
HSVhsv(154, 81%, 49%)
CMYKcmyk(81%, 0%, 35.7%, 50.6%)
CIE-LABlab(46.59, -39.20, 16.71)
CIE-LCHlch(46.59, 42.62, 156.91°)
OKLaboklab(52.61% -0.1062 0.0421)
OKLCHoklch(52.61% 0.114 158.4)
XYZxyz(9.3218, 15.7088, 10.3238)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E51 #7E1845
analogous
#187E1E #187E51 #18787E
triadic
#187E51 #51187E #7E5118
tetradic
#187E51 #1E187E #7E1845 #787E18
square
#187E51 #1E187E #7E1845 #787E18
split-complementary
#187E51 #7E1878 #7E1E18
monochromatic
#051A11 #0E4B30 #187E51 #22B172 #37D992

Accessibility & contrast

On white

5.07
#187E51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#187E51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E51
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E51#FFFFFF#000000##FFFFFF
##187E511.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D744E
Deuteranopia (green-blind)
#716B54
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187e51;
/* rgb */ color: rgb(24, 126, 81);
/* oklch */ color: oklch(52.6% 0.114 158.4);
Tailwind
colors: {
  custom: {
    50: '#67a482',
    500: '#187e51',
    950: '#000000',
  },
}
SCSS
$custom: #187e51;
$custom-light: #67a482;
$custom-dark: #000000;
JSON
{
  "hex": "#187e51",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 81
  },
  "hsl": {
    "h": 153.529,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52609,
    "c": 0.11421,
    "h": 158.4
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

primary
#187E51
secondary
#B23F72
accent
#3D8AEB
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187E51

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

Preview Lab → · Contrast checker → · Palette generator →

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