#187C54#187C54

#187C54 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.1% C 0.109 H 160.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#187C54
RGBrgb(24, 124, 84)
HSLhsl(156, 68%, 29%)
HSVhsv(156, 81%, 49%)
CMYKcmyk(80.6%, 0%, 32.3%, 51.4%)
CIE-LABlab(45.97, -37.69, 14.14)
CIE-LCHlch(45.97, 40.25, 159.43°)
OKLaboklab(52.12% -0.1025 0.0358)
OKLCHoklch(52.12% 0.109 160.7)
XYZxyz(9.1836, 15.2485, 10.8450)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C54 #7C1840
analogous
#187C22 #187C54 #18727C
triadic
#187C54 #54187C #7C5418
tetradic
#187C54 #22187C #7C1840 #727C18
square
#187C54 #22187C #7C1840 #727C18
split-complementary
#187C54 #7C1872 #7C2218
monochromatic
#051A11 #0E4931 #187C54 #22AF77 #36D897

Accessibility & contrast

On white

5.19
#187C54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#187C54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C54
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C54#FFFFFF#000000##FFFFFF
##187C541.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7252
Deuteranopia (green-blind)
#6E6957
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187c54;
/* rgb */ color: rgb(24, 124, 84);
/* oklch */ color: oklch(52.1% 0.109 160.7);
Tailwind
colors: {
  custom: {
    50: '#67a384',
    500: '#187c54',
    950: '#000000',
  },
}
SCSS
$custom: #187c54;
$custom-light: #67a384;
$custom-dark: #000000;
JSON
{
  "hex": "#187c54",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 84
  },
  "hsl": {
    "h": 156,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.10862,
    "h": 160.7
  },
  "luminance": 0.1525
}

Semantic roles & 50–950 ramp

primary
#187C54
secondary
#B13F6D
accent
#3D83EA
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187C54

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

Preview Lab → · Contrast checker → · Palette generator →

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