#1F8064#1F8064

#1F8064 is a mid, moderate teal. Relative luminance 0.167; OKLCH L 53.8% C 0.098 H 168.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#1F8064
RGBrgb(31, 128, 100)
HSLhsl(163, 61%, 31%)
HSVhsv(163, 76%, 50%)
CMYKcmyk(75.8%, 0%, 21.9%, 49.8%)
CIE-LABlab(47.81, -34.51, 7.40)
CIE-LCHlch(47.81, 35.30, 167.90°)
OKLaboklab(53.79% -0.096 0.0189)
OKLCHoklch(53.79% 0.098 168.9)
XYZxyz(10.5833, 16.6485, 14.7098)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8064 #801F3B
analogous
#1F8033 #1F8064 #1F6B80
triadic
#1F8064 #641F80 #80641F
tetradic
#1F8064 #331F80 #801F3B #6B801F
square
#1F8064 #331F80 #801F3B #6B801F
split-complementary
#1F8064 #801F6B #80331F
monochromatic
#071D17 #134F3E #1F8064 #2BB18A #47D2AA

Accessibility & contrast

On white

4.85
#1F8064 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#1F8064 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8064
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8064#FFFFFF#000000##FFFFFF
##1F80641.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7763
Deuteranopia (green-blind)
#706E66
Tritanopia (blue-blind)
#008178
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8064;
/* rgb */ color: rgb(31, 128, 100);
/* oklch */ color: oklch(53.8% 0.098 168.9);
Tailwind
colors: {
  custom: {
    50: '#6aa590',
    500: '#1f8064',
    950: '#000000',
  },
}
SCSS
$custom: #1f8064;
$custom-light: #6aa590;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8064",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 100
  },
  "hsl": {
    "h": 162.68,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53791,
    "c": 0.09786,
    "h": 168.9
  },
  "luminance": 0.1665
}

Semantic roles & 50–950 ramp

primary
#1F8064
secondary
#B34867
accent
#4472E4
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #1F8064

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

Preview Lab → · Contrast checker → · Palette generator →

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