#187F4C#187F4C

#187F4C is a mid, vivid teal. Relative luminance 0.159; OKLCH L 52.8% C 0.120 H 155.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#187F4C
RGBrgb(24, 127, 76)
HSLhsl(150, 68%, 30%)
HSVhsv(150, 81%, 50%)
CMYKcmyk(81.1%, 0%, 40.2%, 50.2%)
CIE-LABlab(46.83, -40.69, 19.89)
CIE-LCHlch(46.83, 45.29, 153.94°)
OKLaboklab(52.78% -0.1097 0.0497)
OKLCHoklch(52.78% 0.12 155.6)
XYZxyz(9.2697, 15.8936, 9.4153)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F4C #7F184B
analogous
#187F18 #187F4C #187F7F
triadic
#187F4C #4C187F #7F4C18
tetradic
#187F4C #18187F #7F184B #7F7F18
square
#187F4C #18187F #7F184B #7F7F18
split-complementary
#187F4C #7F187F #7F1818
monochromatic
#051A0F #0E4C2D #187F4C #22B26B #38D989

Accessibility & contrast

On white

5.03
#187F4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#187F4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F4C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F4C#FFFFFF#000000##FFFFFF
##187F4C1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7449
Deuteranopia (green-blind)
#726C4F
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187f4c;
/* rgb */ color: rgb(24, 127, 76);
/* oklch */ color: oklch(52.8% 0.120 155.6);
Tailwind
colors: {
  custom: {
    50: '#68a57e',
    500: '#187f4c',
    950: '#000000',
  },
}
SCSS
$custom: #187f4c;
$custom-light: #68a57e;
$custom-dark: #000000;
JSON
{
  "hex": "#187f4c",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 76
  },
  "hsl": {
    "h": 150.291,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52779,
    "c": 0.12043,
    "h": 155.6
  },
  "luminance": 0.15895
}

Semantic roles & 50–950 ramp

primary
#187F4C
secondary
#B33F79
accent
#3D93EB
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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