#187A4B#187A4B

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

Color values

HEX#187A4B
RGBrgb(24, 122, 75)
HSLhsl(151, 67%, 29%)
HSVhsv(151, 80%, 48%)
CMYKcmyk(80.3%, 0%, 38.5%, 52.2%)
CIE-LABlab(45.11, -38.89, 18.16)
CIE-LCHlch(45.11, 42.92, 154.96°)
OKLaboklab(51.35% -0.105 0.0455)
OKLCHoklch(51.35% 0.114 156.6)
XYZxyz(8.6054, 14.6202, 9.0237)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A4B #7A1847
analogous
#187A1A #187A4B #18787A
triadic
#187A4B #4B187A #7A4B18
tetradic
#187A4B #1A187A #7A1847 #787A18
square
#187A4B #1A187A #7A1847 #787A18
split-complementary
#187A4B #7A1878 #7A1A18
monochromatic
#051A10 #0E472C #187A4B #22AD6A #35D78A

Accessibility & contrast

On white

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

On black

3.92
#187A4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187A4B#FFFFFF#000000##FFFFFF
##187A4B1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187a4b;
/* rgb */ color: rgb(24, 122, 75);
/* oklch */ color: oklch(51.3% 0.114 156.6);
Tailwind
colors: {
  custom: {
    50: '#66a17d',
    500: '#187a4b',
    950: '#000000',
  },
}
SCSS
$custom: #187a4b;
$custom-light: #66a17d;
$custom-dark: #000000;
JSON
{
  "hex": "#187a4b",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 75
  },
  "hsl": {
    "h": 151.224,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51349,
    "c": 0.11446,
    "h": 156.6
  },
  "luminance": 0.14621
}

Semantic roles & 50–950 ramp

primary
#187A4B
secondary
#AF3F75
accent
#3E90EA
background
#F6FAF7
surface
#EBF3EE
border
#C6CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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