#187956#187956

#187956 is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.3% C 0.103 H 163.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#187956
RGBrgb(24, 121, 86)
HSLhsl(158, 67%, 28%)
HSVhsv(158, 80%, 47%)
CMYKcmyk(80.2%, 0%, 28.9%, 52.5%)
CIE-LABlab(45.00, -35.93, 11.63)
CIE-LCHlch(45.00, 37.76, 162.07°)
OKLaboklab(51.33% -0.0983 0.0296)
OKLCHoklch(51.33% 0.103 163.2)
XYZxyz(8.8928, 14.5397, 11.1401)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187956 #79183B
analogous
#187926 #187956 #186B79
triadic
#187956 #561879 #795618
tetradic
#187956 #261879 #79183B #6B7918
square
#187956 #261879 #79183B #6B7918
split-complementary
#187956 #79186B #792618
monochromatic
#051A12 #0E4632 #187956 #22AC7A #35D79C

Accessibility & contrast

On white

5.37
#187956 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#187956 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187956
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187956#FFFFFF#000000##FFFFFF
##1879561.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777054
Deuteranopia (green-blind)
#6B6758
Tritanopia (blue-blind)
#007970
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187956;
/* rgb */ color: rgb(24, 121, 86);
/* oklch */ color: oklch(51.3% 0.103 163.2);
Tailwind
colors: {
  custom: {
    50: '#66a085',
    500: '#187956',
    950: '#000000',
  },
}
SCSS
$custom: #187956;
$custom-light: #66a085;
$custom-dark: #000000;
JSON
{
  "hex": "#187956",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 86
  },
  "hsl": {
    "h": 158.351,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51332,
    "c": 0.1027,
    "h": 163.2
  },
  "luminance": 0.14541
}

Semantic roles & 50–950 ramp

primary
#187956
secondary
#AE3F67
accent
#3E7CEA
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #187956

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

Preview Lab → · Contrast checker → · Palette generator →

#187956 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva