#1F8974#1F8974

#1F8974 is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.7% C 0.098 H 175.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#1F8974
RGBrgb(31, 137, 116)
HSLhsl(168, 63%, 33%)
HSVhsv(168, 77%, 54%)
CMYKcmyk(77.4%, 0%, 15.3%, 46.3%)
CIE-LABlab(51.20, -34.30, 2.93)
CIE-LCHlch(51.20, 34.42, 175.12°)
OKLaboklab(56.7% -0.0975 0.0072)
OKLCHoklch(56.7% 0.098 175.8)
XYZxyz(12.6615, 19.4420, 19.6050)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8974 #891F34
analogous
#1F893F #1F8974 #1F6989
triadic
#1F8974 #741F89 #89741F
tetradic
#1F8974 #3F1F89 #891F34 #69891F
square
#1F8974 #3F1F89 #891F34 #69891F
split-complementary
#1F8974 #891F69 #893F1F
monochromatic
#08251F #14574A #1F8974 #2ABB9E #4CD6BB

Accessibility & contrast

On white

4.30
#1F8974 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#1F8974 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8974
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8974#FFFFFF#000000##000000
##1F89741.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#848073
Deuteranopia (green-blind)
#767676
Tritanopia (blue-blind)
#008B83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8974;
/* rgb */ color: rgb(31, 137, 116);
/* oklch */ color: oklch(56.7% 0.098 175.8);
Tailwind
colors: {
  custom: {
    50: '#6dac9c',
    500: '#1f8974',
    950: '#000000',
  },
}
SCSS
$custom: #1f8974;
$custom-light: #6dac9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8974",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 116
  },
  "hsl": {
    "h": 168.113,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56701,
    "c": 0.09781,
    "h": 175.8
  },
  "luminance": 0.19444
}

Semantic roles & 50–950 ramp

primary
#1F8974
secondary
#B94B61
accent
#4262E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8974

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

Preview Lab → · Contrast checker → · Palette generator →

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