#187F5E#187F5E

#187F5E is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.2% C 0.104 H 165.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#187F5E
RGBrgb(24, 127, 94)
HSLhsl(161, 68%, 30%)
HSVhsv(161, 81%, 50%)
CMYKcmyk(81.1%, 0%, 26%, 50.2%)
CIE-LABlab(47.21, -36.53, 10.04)
CIE-LCHlch(47.21, 37.88, 164.64°)
OKLaboklab(53.21% -0.1006 0.0256)
OKLCHoklch(53.21% 0.104 165.7)
XYZxyz(9.9853, 16.1799, 13.1843)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F5E #7F1839
analogous
#187F2B #187F5E #186D7F
triadic
#187F5E #5E187F #7F5E18
tetradic
#187F5E #2B187F #7F1839 #6D7F18
square
#187F5E #2B187F #7F1839 #6D7F18
split-complementary
#187F5E #7F186D #7F2B18
monochromatic
#051A13 #0E4C38 #187F5E #22B284 #38D9A6

Accessibility & contrast

On white

4.96
#187F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#187F5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F5E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F5E#FFFFFF#000000##FFFFFF
##187F5E1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C755C
Deuteranopia (green-blind)
#706C60
Tritanopia (blue-blind)
#007F76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #187f5e;
/* rgb */ color: rgb(24, 127, 94);
/* oklch */ color: oklch(53.2% 0.104 165.7);
Tailwind
colors: {
  custom: {
    50: '#68a58b',
    500: '#187f5e',
    950: '#000000',
  },
}
SCSS
$custom: #187f5e;
$custom-light: #68a58b;
$custom-dark: #000000;
JSON
{
  "hex": "#187f5e",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 94
  },
  "hsl": {
    "h": 160.777,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53211,
    "c": 0.10377,
    "h": 165.7
  },
  "luminance": 0.16181
}

Semantic roles & 50–950 ramp

primary
#187F5E
secondary
#B33F65
accent
#3D75EB
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #187F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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