#187271#187271

#187271 is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.3% C 0.079 H 193.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#187271
RGBrgb(24, 114, 113)
HSLhsl(179, 65%, 27%)
HSVhsv(179, 79%, 45%)
CMYKcmyk(78.9%, 0%, 0.9%, 55.3%)
CIE-LABlab(43.39, -24.98, -6.79)
CIE-LCHlch(43.39, 25.89, 195.21°)
OKLaboklab(50.27% -0.0771 -0.0189)
OKLCHoklch(50.27% 0.079 193.8)
XYZxyz(9.3733, 13.4199, 17.7159)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187271 #721819
analogous
#187244 #187271 #184672
triadic
#187271 #711872 #727118
tetradic
#187271 #441872 #721819 #467218
square
#187271 #441872 #721819 #467218
split-complementary
#187271 #721846 #724418
monochromatic
#051919 #0D3F3F #187271 #23A5A3 #31D4D2

Accessibility & contrast

On white

5.70
#187271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#187271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187271
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187271#FFFFFF#000000##FFFFFF
##1872711.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6C71
Deuteranopia (green-blind)
#5D6372
Tritanopia (blue-blind)
#007671
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #187271;
/* rgb */ color: rgb(24, 114, 113);
/* oklch */ color: oklch(50.3% 0.079 193.8);
Tailwind
colors: {
  custom: {
    50: '#679b99',
    500: '#187271',
    950: '#000000',
  },
}
SCSS
$custom: #187271;
$custom-light: #679b99;
$custom-dark: #000000;
JSON
{
  "hex": "#187271",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 179.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50265,
    "c": 0.07939,
    "h": 193.8
  },
  "luminance": 0.13421
}

Semantic roles & 50–950 ramp

primary
#187271
secondary
#A73E40
accent
#4041E8
background
#F6F9F9
surface
#EBF2F2
border
#C6CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #187271

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

Preview Lab → · Contrast checker → · Palette generator →

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