#187A4C#187A4C

#187A4C is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.4% C 0.113 H 157.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#187A4C
RGBrgb(24, 122, 76)
HSLhsl(152, 67%, 29%)
HSVhsv(152, 80%, 48%)
CMYKcmyk(80.3%, 0%, 37.7%, 52.2%)
CIE-LABlab(45.13, -38.67, 17.62)
CIE-LCHlch(45.13, 42.49, 155.51°)
OKLaboklab(51.37% -0.1045 0.0442)
OKLCHoklch(51.37% 0.113 157.1)
XYZxyz(8.6399, 14.6340, 9.2054)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A4C #7A1846
analogous
#187A1B #187A4C #18777A
triadic
#187A4C #4C187A #7A4C18
tetradic
#187A4C #1B187A #7A1846 #777A18
square
#187A4C #1B187A #7A1846 #777A18
split-complementary
#187A4C #7A1877 #7A1B18
monochromatic
#051A10 #0E472C #187A4C #22AD6C #35D78B

Accessibility & contrast

On white

5.35
#187A4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#187A4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A4C
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A4C#FFFFFF#000000##FFFFFF
##187A4C1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797049
Deuteranopia (green-blind)
#6D674F
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187a4c;
/* rgb */ color: rgb(24, 122, 76);
/* oklch */ color: oklch(51.4% 0.113 157.1);
Tailwind
colors: {
  custom: {
    50: '#66a17e',
    500: '#187a4c',
    950: '#000000',
  },
}
SCSS
$custom: #187a4c;
$custom-light: #66a17e;
$custom-dark: #000000;
JSON
{
  "hex": "#187a4c",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 76
  },
  "hsl": {
    "h": 151.837,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51371,
    "c": 0.11349,
    "h": 157.1
  },
  "luminance": 0.14635
}

Semantic roles & 50–950 ramp

primary
#187A4C
secondary
#AF3F73
accent
#3E8FEA
background
#F6FAF7
surface
#EBF3EE
border
#C6CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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