#187A56#187A56

#187A56 is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.6% C 0.104 H 162.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#187A56
RGBrgb(24, 122, 86)
HSLhsl(158, 67%, 29%)
HSVhsv(158, 80%, 48%)
CMYKcmyk(80.3%, 0%, 29.5%, 52.2%)
CIE-LABlab(45.34, -36.36, 12.10)
CIE-LCHlch(45.34, 38.32, 161.60°)
OKLaboklab(51.61% -0.0994 0.0308)
OKLCHoklch(51.61% 0.104 162.8)
XYZxyz(9.0149, 14.7840, 11.1808)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A56 #7A183C
analogous
#187A25 #187A56 #186D7A
triadic
#187A56 #56187A #7A5618
tetradic
#187A56 #25187A #7A183C #6D7A18
square
#187A56 #25187A #7A183C #6D7A18
split-complementary
#187A56 #7A186D #7A2518
monochromatic
#051A12 #0E4732 #187A56 #22AD7A #35D79C

Accessibility & contrast

On white

5.31
#187A56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#187A56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A56
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A56#FFFFFF#000000##FFFFFF
##187A561.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787054
Deuteranopia (green-blind)
#6C6858
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187a56;
/* rgb */ color: rgb(24, 122, 86);
/* oklch */ color: oklch(51.6% 0.104 162.8);
Tailwind
colors: {
  custom: {
    50: '#67a185',
    500: '#187a56',
    950: '#000000',
  },
}
SCSS
$custom: #187a56;
$custom-light: #67a185;
$custom-dark: #000000;
JSON
{
  "hex": "#187a56",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 86
  },
  "hsl": {
    "h": 157.959,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51611,
    "c": 0.10406,
    "h": 162.8
  },
  "luminance": 0.14785
}

Semantic roles & 50–950 ramp

primary
#187A56
secondary
#AF3F68
accent
#3E7DEA
background
#F6FAF8
surface
#EBF3EF
border
#C6CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187A56

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

Preview Lab → · Contrast checker → · Palette generator →

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