#187A4D#187A4D

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

Color values

HEX#187A4D
RGBrgb(24, 122, 77)
HSLhsl(152, 67%, 29%)
HSVhsv(152, 80%, 48%)
CMYKcmyk(80.3%, 0%, 36.9%, 52.2%)
CIE-LABlab(45.15, -38.45, 17.07)
CIE-LCHlch(45.15, 42.07, 156.07°)
OKLaboklab(51.39% -0.104 0.0429)
OKLCHoklch(51.39% 0.113 157.6)
XYZxyz(8.6749, 14.6480, 9.3899)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A4D #7A1845
analogous
#187A1C #187A4D #18767A
triadic
#187A4D #4D187A #7A4D18
tetradic
#187A4D #1C187A #7A1845 #767A18
square
#187A4D #1C187A #7A1845 #767A18
split-complementary
#187A4D #7A1876 #7A1C18
monochromatic
#051A10 #0E472D #187A4D #22AD6D #35D78D

Accessibility & contrast

On white

5.34
#187A4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187A4D
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A4D#FFFFFF#000000##FFFFFF
##187A4D1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704A
Deuteranopia (green-blind)
#6D6750
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187a4d;
/* rgb */ color: rgb(24, 122, 77);
/* oklch */ color: oklch(51.4% 0.113 157.6);
Tailwind
colors: {
  custom: {
    50: '#66a17f',
    500: '#187a4d',
    950: '#000000',
  },
}
SCSS
$custom: #187a4d;
$custom-light: #66a17f;
$custom-dark: #000000;
JSON
{
  "hex": "#187a4d",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 77
  },
  "hsl": {
    "h": 152.449,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51394,
    "c": 0.11251,
    "h": 157.6
  },
  "luminance": 0.14649
}

Semantic roles & 50–950 ramp

primary
#187A4D
secondary
#AF3F72
accent
#3E8DEA
background
#F6FAF7
surface
#EBF3EE
border
#C6CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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