#187F5A#187F5A

#187F5A is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.1% C 0.107 H 163.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#187F5A
RGBrgb(24, 127, 90)
HSLhsl(158, 68%, 30%)
HSVhsv(158, 81%, 50%)
CMYKcmyk(81.1%, 0%, 29.1%, 50.2%)
CIE-LABlab(47.12, -37.52, 12.24)
CIE-LCHlch(47.12, 39.47, 161.93°)
OKLaboklab(53.11% -0.1026 0.0312)
OKLCHoklch(53.11% 0.107 163.1)
XYZxyz(9.8104, 16.1099, 12.2634)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F5A #7F183D
analogous
#187F27 #187F5A #18707F
triadic
#187F5A #5A187F #7F5A18
tetradic
#187F5A #27187F #7F183D #707F18
square
#187F5A #27187F #7F183D #707F18
split-complementary
#187F5A #7F1870 #7F2718
monochromatic
#051A12 #0E4C36 #187F5A #22B27E #38D99F

Accessibility & contrast

On white

4.97
#187F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#187F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F5A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F5A#FFFFFF#000000##FFFFFF
##187F5A1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7558
Deuteranopia (green-blind)
#706C5C
Tritanopia (blue-blind)
#007F75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #187f5a;
/* rgb */ color: rgb(24, 127, 90);
/* oklch */ color: oklch(53.1% 0.107 163.1);
Tailwind
colors: {
  custom: {
    50: '#68a588',
    500: '#187f5a',
    950: '#000000',
  },
}
SCSS
$custom: #187f5a;
$custom-light: #68a588;
$custom-dark: #000000;
JSON
{
  "hex": "#187f5a",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 90
  },
  "hsl": {
    "h": 158.447,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.10724,
    "h": 163.1
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#187F5A
secondary
#B33F69
accent
#3D7BEB
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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