#1F805F#1F805F

#1F805F is a mid, moderate teal. Relative luminance 0.166; OKLCH L 53.7% C 0.102 H 165.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1F805F
RGBrgb(31, 128, 95)
HSLhsl(160, 61%, 31%)
HSVhsv(160, 76%, 50%)
CMYKcmyk(75.8%, 0%, 25.8%, 49.8%)
CIE-LABlab(47.69, -35.79, 10.15)
CIE-LCHlch(47.69, 37.20, 164.16°)
OKLaboklab(53.65% -0.0986 0.0259)
OKLCHoklch(53.65% 0.102 165.3)
XYZxyz(10.3487, 16.5547, 13.4742)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F805F #801F40
analogous
#1F802F #1F805F #1F7080
triadic
#1F805F #5F1F80 #805F1F
tetradic
#1F805F #2F1F80 #801F40 #70801F
square
#1F805F #2F1F80 #801F40 #70801F
split-complementary
#1F805F #801F70 #802F1F
monochromatic
#071D16 #134F3A #1F805F #2BB184 #47D2A3

Accessibility & contrast

On white

4.87
#1F805F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#1F805F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F805F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F805F#FFFFFF#000000##FFFFFF
##1F805F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D765D
Deuteranopia (green-blind)
#716E61
Tritanopia (blue-blind)
#008077
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f805f;
/* rgb */ color: rgb(31, 128, 95);
/* oklch */ color: oklch(53.7% 0.102 165.3);
Tailwind
colors: {
  custom: {
    50: '#6aa58c',
    500: '#1f805f',
    950: '#000000',
  },
}
SCSS
$custom: #1f805f;
$custom-light: #6aa58c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f805f",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 95
  },
  "hsl": {
    "h": 159.588,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53653,
    "c": 0.10192,
    "h": 165.3
  },
  "luminance": 0.16556
}

Semantic roles & 50–950 ramp

primary
#1F805F
secondary
#B3486C
accent
#447AE4
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #1F805F

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

Preview Lab → · Contrast checker → · Palette generator →

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