#1F8D70#1F8D70

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

Color values

HEX#1F8D70
RGBrgb(31, 141, 112)
HSLhsl(164, 64%, 34%)
HSVhsv(164, 78%, 55%)
CMYKcmyk(78%, 0%, 20.6%, 44.7%)
CIE-LABlab(52.41, -37.16, 6.97)
CIE-LCHlch(52.41, 37.81, 169.37°)
OKLaboklab(57.66% -0.1037 0.0178)
OKLCHoklch(57.66% 0.105 170.3)
XYZxyz(13.0130, 20.5093, 18.5990)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D70 #8D1F3C
analogous
#1F8D39 #1F8D70 #1F738D
triadic
#1F8D70 #701F8D #8D701F
tetradic
#1F8D70 #391F8D #8D1F3C #738D1F
square
#1F8D70 #391F8D #8D1F3C #738D1F
split-complementary
#1F8D70 #8D1F73 #8D391F
monochromatic
#092920 #145B48 #1F8D70 #2ABF98 #4ED8B4

Accessibility & contrast

On white

4.12
#1F8D70 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#1F8D70 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D70
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D70#FFFFFF#000000##000000
##1F8D701.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89836F
Deuteranopia (green-blind)
#7B7972
Tritanopia (blue-blind)
#008E85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8d70;
/* rgb */ color: rgb(31, 141, 112);
/* oklch */ color: oklch(57.7% 0.105 170.3);
Tailwind
colors: {
  custom: {
    50: '#6eaf99',
    500: '#1f8d70',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d70;
$custom-light: #6eaf99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d70",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 112
  },
  "hsl": {
    "h": 164.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57656,
    "c": 0.10524,
    "h": 170.3
  },
  "luminance": 0.20511
}

Semantic roles & 50–950 ramp

primary
#1F8D70
secondary
#BB4D6A
accent
#416DE7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #1F8D70

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

Preview Lab → · Contrast checker → · Palette generator →

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