#1F8768#1F8768

#1F8768 is a mid, moderate teal. Relative luminance 0.186; OKLCH L 55.8% C 0.104 H 167.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1F8768
RGBrgb(31, 135, 104)
HSLhsl(162, 63%, 33%)
HSVhsv(162, 77%, 53%)
CMYKcmyk(77%, 0%, 23%, 47.1%)
CIE-LABlab(50.24, -36.59, 8.51)
CIE-LCHlch(50.24, 37.57, 166.91°)
OKLaboklab(55.81% -0.1015 0.0217)
OKLCHoklch(55.81% 0.104 167.9)
XYZxyz(11.7264, 18.6173, 16.0695)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8768 #871F3E
analogous
#1F8734 #1F8768 #1F7287
triadic
#1F8768 #681F87 #87681F
tetradic
#1F8768 #341F87 #871F3E #72871F
square
#1F8768 #341F87 #871F3E #72871F
split-complementary
#1F8768 #871F72 #87341F
monochromatic
#08231B #145542 #1F8768 #2AB98E #4BD6AC

Accessibility & contrast

On white

4.45
#1F8768 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#1F8768 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8768
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8768#FFFFFF#000000##000000
##1F87681.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#837D66
Deuteranopia (green-blind)
#76746A
Tritanopia (blue-blind)
#00887E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8768;
/* rgb */ color: rgb(31, 135, 104);
/* oklch */ color: oklch(55.8% 0.104 167.9);
Tailwind
colors: {
  custom: {
    50: '#6cab93',
    500: '#1f8768',
    950: '#000000',
  },
}
SCSS
$custom: #1f8768;
$custom-light: #6cab93;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8768",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 104
  },
  "hsl": {
    "h": 162.115,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5581,
    "c": 0.10377,
    "h": 167.9
  },
  "luminance": 0.18619
}

Semantic roles & 50–950 ramp

primary
#1F8768
secondary
#B84A6B
accent
#4273E6
background
#F7FAF9
surface
#EDF4F1
border
#C8CECB
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #1F8768

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

Preview Lab → · Contrast checker → · Palette generator →

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