#187F5F#187F5F

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

Color values

HEX#187F5F
RGBrgb(24, 127, 95)
HSLhsl(161, 68%, 30%)
HSVhsv(161, 81%, 50%)
CMYKcmyk(81.1%, 0%, 25.2%, 50.2%)
CIE-LABlab(47.23, -36.27, 9.49)
CIE-LCHlch(47.23, 37.49, 165.35°)
OKLaboklab(53.24% -0.1 0.0242)
OKLCHoklch(53.24% 0.103 166.4)
XYZxyz(10.0304, 16.1979, 13.4221)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F5F #7F1838
analogous
#187F2B #187F5F #186C7F
triadic
#187F5F #5F187F #7F5F18
tetradic
#187F5F #2B187F #7F1838 #6C7F18
square
#187F5F #2B187F #7F1838 #6C7F18
split-complementary
#187F5F #7F186C #7F2B18
monochromatic
#051A13 #0E4C38 #187F5F #22B286 #38D9A7

Accessibility & contrast

On white

4.95
#187F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187F5F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F5F#FFFFFF#000000##FFFFFF
##187F5F1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C755D
Deuteranopia (green-blind)
#6F6C61
Tritanopia (blue-blind)
#007F76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #187f5f;
/* rgb */ color: rgb(24, 127, 95);
/* oklch */ color: oklch(53.2% 0.103 166.4);
Tailwind
colors: {
  custom: {
    50: '#68a58c',
    500: '#187f5f',
    950: '#000000',
  },
}
SCSS
$custom: #187f5f;
$custom-light: #68a58c;
$custom-dark: #000000;
JSON
{
  "hex": "#187f5f",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 95
  },
  "hsl": {
    "h": 161.359,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53239,
    "c": 0.10293,
    "h": 166.4
  },
  "luminance": 0.16199
}

Semantic roles & 50–950 ramp

primary
#187F5F
secondary
#B33F63
accent
#3D73EB
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #187F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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