#1F8D74#1F8D74

#1F8D74 is a mid, moderate teal. Relative luminance 0.206; OKLCH L 57.8% C 0.102 H 173.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#1F8D74
RGBrgb(31, 141, 116)
HSLhsl(166, 64%, 34%)
HSVhsv(166, 78%, 55%)
CMYKcmyk(78%, 0%, 17.7%, 44.7%)
CIE-LABlab(52.51, -36.10, 4.81)
CIE-LCHlch(52.51, 36.42, 172.41°)
OKLaboklab(57.77% -0.1017 0.0122)
OKLCHoklch(57.77% 0.102 173.2)
XYZxyz(13.2407, 20.6004, 19.7981)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D74 #8D1F38
analogous
#1F8D3D #1F8D74 #1F6F8D
triadic
#1F8D74 #741F8D #8D741F
tetradic
#1F8D74 #3D1F8D #8D1F38 #6F8D1F
square
#1F8D74 #3D1F8D #8D1F38 #6F8D1F
split-complementary
#1F8D74 #8D1F6F #8D3D1F
monochromatic
#092921 #145B4B #1F8D74 #2ABF9D #4ED8B9

Accessibility & contrast

On white

4.10
#1F8D74 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#1F8D74 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D74
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D74#FFFFFF#000000##000000
##1F8D741.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#888373
Deuteranopia (green-blind)
#7A7976
Tritanopia (blue-blind)
#008F86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8d74;
/* rgb */ color: rgb(31, 141, 116);
/* oklch */ color: oklch(57.8% 0.102 173.2);
Tailwind
colors: {
  custom: {
    50: '#6eaf9c',
    500: '#1f8d74',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d74;
$custom-light: #6eaf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d74",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 116
  },
  "hsl": {
    "h": 166.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57772,
    "c": 0.10246,
    "h": 173.2
  },
  "luminance": 0.20602
}

Semantic roles & 50–950 ramp

primary
#1F8D74
secondary
#BB4D66
accent
#4167E7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8D74

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

Preview Lab → · Contrast checker → · Palette generator →

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