#187A4A#187A4A

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

Color values

HEX#187A4A
RGBrgb(24, 122, 74)
HSLhsl(151, 67%, 29%)
HSVhsv(151, 80%, 48%)
CMYKcmyk(80.3%, 0%, 39.3%, 52.2%)
CIE-LABlab(45.09, -39.10, 18.71)
CIE-LCHlch(45.09, 43.35, 154.43°)
OKLaboklab(51.33% -0.1055 0.0468)
OKLCHoklch(51.33% 0.115 156.1)
XYZxyz(8.5714, 14.6066, 8.8449)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A4A #7A1848
analogous
#187A19 #187A4A #18797A
triadic
#187A4A #4A187A #7A4A18
tetradic
#187A4A #19187A #7A1848 #797A18
square
#187A4A #19187A #7A1848 #797A18
split-complementary
#187A4A #7A1879 #7A1918
monochromatic
#051A10 #0E472B #187A4A #22AD69 #35D788

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187A4A#FFFFFF#000000##FFFFFF
##187A4A1.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)
#797047
Deuteranopia (green-blind)
#6E674D
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187a4a;
/* rgb */ color: rgb(24, 122, 74);
/* oklch */ color: oklch(51.3% 0.115 156.1);
Tailwind
colors: {
  custom: {
    50: '#66a17d',
    500: '#187a4a',
    950: '#000000',
  },
}
SCSS
$custom: #187a4a;
$custom-light: #66a17d;
$custom-dark: #000000;
JSON
{
  "hex": "#187a4a",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 74
  },
  "hsl": {
    "h": 150.612,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51327,
    "c": 0.11545,
    "h": 156.1
  },
  "luminance": 0.14608
}

Semantic roles & 50–950 ramp

primary
#187A4A
secondary
#AF3F76
accent
#3E92EA
background
#F6FAF7
surface
#EBF3EE
border
#C6CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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