#187F58#187F58

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

Color values

HEX#187F58
RGBrgb(24, 127, 88)
HSLhsl(157, 68%, 30%)
HSVhsv(157, 81%, 50%)
CMYKcmyk(81.1%, 0%, 30.7%, 50.2%)
CIE-LABlab(47.07, -38.00, 13.34)
CIE-LCHlch(47.07, 40.28, 160.66°)
OKLaboklab(53.06% -0.1036 0.0339)
OKLCHoklch(53.06% 0.109 161.9)
XYZxyz(9.7264, 16.0763, 11.8210)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F58 #7F183F
analogous
#187F25 #187F58 #18727F
triadic
#187F58 #58187F #7F5818
tetradic
#187F58 #25187F #7F183F #727F18
square
#187F58 #25187F #7F183F #727F18
split-complementary
#187F58 #7F1872 #7F2518
monochromatic
#051A12 #0E4C34 #187F58 #22B27C #38D99C

Accessibility & contrast

On white

4.98
#187F58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187F58
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F58#FFFFFF#000000##FFFFFF
##187F581.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7556
Deuteranopia (green-blind)
#716C5B
Tritanopia (blue-blind)
#007F75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #187f58;
/* rgb */ color: rgb(24, 127, 88);
/* oklch */ color: oklch(53.1% 0.109 161.9);
Tailwind
colors: {
  custom: {
    50: '#68a587',
    500: '#187f58',
    950: '#000000',
  },
}
SCSS
$custom: #187f58;
$custom-light: #68a587;
$custom-dark: #000000;
JSON
{
  "hex": "#187f58",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 88
  },
  "hsl": {
    "h": 157.282,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53056,
    "c": 0.10903,
    "h": 161.9
  },
  "luminance": 0.16078
}

Semantic roles & 50–950 ramp

primary
#187F58
secondary
#B33F6B
accent
#3D7FEB
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187F58

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

Preview Lab → · Contrast checker → · Palette generator →

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