#187C4A#187C4A

#187C4A is a mid, moderate teal. Relative luminance 0.151; OKLCH L 51.9% C 0.118 H 155.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#187C4A
RGBrgb(24, 124, 74)
HSLhsl(150, 68%, 29%)
HSVhsv(150, 81%, 49%)
CMYKcmyk(80.6%, 0%, 40.3%, 51.4%)
CIE-LABlab(45.77, -39.91, 19.62)
CIE-LCHlch(45.77, 44.47, 153.82°)
OKLaboklab(51.89% -0.1076 0.049)
OKLCHoklch(51.89% 0.118 155.5)
XYZxyz(8.8195, 15.1028, 8.9276)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C4A #7C184A
analogous
#187C18 #187C4A #187C7C
triadic
#187C4A #4A187C #7C4A18
tetradic
#187C4A #18187C #7C184A #7C7C18
square
#187C4A #18187C #7C184A #7C7C18
split-complementary
#187C4A #7C187C #7C1818
monochromatic
#051A0F #0E492B #187C4A #22AF69 #36D887

Accessibility & contrast

On white

5.22
#187C4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#187C4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C4A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C4A#FFFFFF#000000##FFFFFF
##187C4A1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7147
Deuteranopia (green-blind)
#70694D
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187c4a;
/* rgb */ color: rgb(24, 124, 74);
/* oklch */ color: oklch(51.9% 0.118 155.5);
Tailwind
colors: {
  custom: {
    50: '#67a37d',
    500: '#187c4a',
    950: '#000000',
  },
}
SCSS
$custom: #187c4a;
$custom-light: #67a37d;
$custom-dark: #000000;
JSON
{
  "hex": "#187c4a",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 74
  },
  "hsl": {
    "h": 150,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51892,
    "c": 0.11824,
    "h": 155.5
  },
  "luminance": 0.15104
}

Semantic roles & 50–950 ramp

primary
#187C4A
secondary
#B13F78
accent
#3D94EA
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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