#1F8D71#1F8D71

#1F8D71 is a mid, moderate teal. Relative luminance 0.205; OKLCH L 57.7% C 0.105 H 171.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#1F8D71
RGBrgb(31, 141, 113)
HSLhsl(165, 64%, 34%)
HSVhsv(165, 78%, 55%)
CMYKcmyk(78%, 0%, 19.9%, 44.7%)
CIE-LABlab(52.43, -36.90, 6.43)
CIE-LCHlch(52.43, 37.46, 170.11°)
OKLaboklab(57.68% -0.1032 0.0164)
OKLCHoklch(57.68% 0.105 171)
XYZxyz(13.0690, 20.5317, 18.8938)
Luminance0.2053 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D71 #8D1F3B
analogous
#1F8D3A #1F8D71 #1F728D
triadic
#1F8D71 #711F8D #8D711F
tetradic
#1F8D71 #3A1F8D #8D1F3B #728D1F
square
#1F8D71 #3A1F8D #8D1F3B #728D1F
split-complementary
#1F8D71 #8D1F72 #8D3A1F
monochromatic
#092921 #145B49 #1F8D71 #2ABF99 #4ED8B5

Accessibility & contrast

On white

4.11
#1F8D71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#1F8D71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D71
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D71#FFFFFF#000000##000000
##1F8D711.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#898370
Deuteranopia (green-blind)
#7B7973
Tritanopia (blue-blind)
#008E85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8d71;
/* rgb */ color: rgb(31, 141, 113);
/* oklch */ color: oklch(57.7% 0.105 171.0);
Tailwind
colors: {
  custom: {
    50: '#6eaf99',
    500: '#1f8d71',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d71;
$custom-light: #6eaf99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d71",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 113
  },
  "hsl": {
    "h": 164.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57684,
    "c": 0.10452,
    "h": 171
  },
  "luminance": 0.20533
}

Semantic roles & 50–950 ramp

primary
#1F8D71
secondary
#BB4D69
accent
#416BE7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8D71

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

Preview Lab → · Contrast checker → · Palette generator →

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