#1F8760#1F8760

#1F8760 is a mid, moderate teal. Relative luminance 0.185; OKLCH L 55.6% C 0.110 H 162.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1F8760
RGBrgb(31, 135, 96)
HSLhsl(158, 63%, 33%)
HSVhsv(158, 77%, 53%)
CMYKcmyk(77%, 0%, 28.9%, 47.1%)
CIE-LABlab(50.05, -38.57, 12.87)
CIE-LCHlch(50.05, 40.66, 161.55°)
OKLaboklab(55.6% -0.1055 0.0328)
OKLCHoklch(55.6% 0.11 162.8)
XYZxyz(11.3391, 18.4624, 14.0301)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8760 #871F46
analogous
#1F872C #1F8760 #1F7A87
triadic
#1F8760 #601F87 #87601F
tetradic
#1F8760 #2C1F87 #871F46 #7A871F
square
#1F8760 #2C1F87 #871F46 #7A871F
split-complementary
#1F8760 #871F7A #872C1F
monochromatic
#082319 #14553D #1F8760 #2AB983 #4BD6A2

Accessibility & contrast

On white

4.47
#1F8760 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#1F8760 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8760
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8760#FFFFFF#000000##000000
##1F87601.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857D5E
Deuteranopia (green-blind)
#787363
Tritanopia (blue-blind)
#00877C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8760;
/* rgb */ color: rgb(31, 135, 96);
/* oklch */ color: oklch(55.6% 0.110 162.8);
Tailwind
colors: {
  custom: {
    50: '#6cab8d',
    500: '#1f8760',
    950: '#000000',
  },
}
SCSS
$custom: #1f8760;
$custom-light: #6cab8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8760",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 96
  },
  "hsl": {
    "h": 157.5,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55598,
    "c": 0.11048,
    "h": 162.8
  },
  "luminance": 0.18464
}

Semantic roles & 50–950 ramp

primary
#1F8760
secondary
#B84A73
accent
#427FE6
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #1F8760

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

Preview Lab → · Contrast checker → · Palette generator →

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