#1E7871#1E7871

#1E7871 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.082 H 187.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#1E7871
RGBrgb(30, 120, 113)
HSLhsl(175, 60%, 29%)
HSVhsv(175, 75%, 47%)
CMYKcmyk(75%, 0%, 5.8%, 52.9%)
CIE-LABlab(45.50, -27.23, -3.65)
CIE-LCHlch(45.50, 27.47, 187.63°)
OKLaboklab(52.01% -0.0812 -0.0103)
OKLCHoklch(52.01% 0.082 187.2)
XYZxyz(10.2311, 14.9000, 17.9564)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7871 #781E25
analogous
#1E7844 #1E7871 #1E5278
triadic
#1E7871 #711E78 #78711E
tetradic
#1E7871 #441E78 #781E25 #52781E
square
#1E7871 #441E78 #781E25 #52781E
split-complementary
#1E7871 #781E52 #78441E
monochromatic
#061817 #124743 #1E7871 #2AA99F #41CFC4

Accessibility & contrast

On white

5.28
#1E7871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#1E7871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7871
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7871#FFFFFF#000000##FFFFFF
##1E78711.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717171
Deuteranopia (green-blind)
#646872
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1e7871;
/* rgb */ color: rgb(30, 120, 113);
/* oklch */ color: oklch(52.0% 0.082 187.2);
Tailwind
colors: {
  custom: {
    50: '#6a9f99',
    500: '#1e7871',
    950: '#000000',
  },
}
SCSS
$custom: #1e7871;
$custom-light: #6a9f99;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7871",
  "rgb": {
    "r": 30,
    "g": 120,
    "b": 113
  },
  "hsl": {
    "h": 175.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.08188,
    "h": 187.2
  },
  "luminance": 0.14901
}

Semantic roles & 50–950 ramp

primary
#1E7871
secondary
#AC464E
accent
#4551E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1E7871

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

Preview Lab → · Contrast checker → · Palette generator →

#1E7871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva