#1F8960#1F8960

#1F8960 is a mid, moderate teal. Relative luminance 0.190; OKLCH L 56.1% C 0.113 H 162.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1F8960
RGBrgb(31, 137, 96)
HSLhsl(157, 63%, 33%)
HSVhsv(157, 77%, 54%)
CMYKcmyk(77.4%, 0%, 29.9%, 46.3%)
CIE-LABlab(50.72, -39.41, 13.79)
CIE-LCHlch(50.72, 41.75, 160.72°)
OKLaboklab(56.15% -0.1076 0.0351)
OKLCHoklch(56.15% 0.113 162)
XYZxyz(11.6208, 19.0258, 14.1239)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8960 #891F48
analogous
#1F892B #1F8960 #1F7D89
triadic
#1F8960 #601F89 #89601F
tetradic
#1F8960 #2B1F89 #891F48 #7D891F
square
#1F8960 #2B1F89 #891F48 #7D891F
split-complementary
#1F8960 #891F7D #892B1F
monochromatic
#08251A #14573D #1F8960 #2ABB83 #4CD6A1

Accessibility & contrast

On white

4.37
#1F8960 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#1F8960 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8960
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8960#FFFFFF#000000##000000
##1F89601.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877E5E
Deuteranopia (green-blind)
#7A7563
Tritanopia (blue-blind)
#00897E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8960;
/* rgb */ color: rgb(31, 137, 96);
/* oklch */ color: oklch(56.1% 0.113 162.0);
Tailwind
colors: {
  custom: {
    50: '#6cac8d',
    500: '#1f8960',
    950: '#000000',
  },
}
SCSS
$custom: #1f8960;
$custom-light: #6cac8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8960",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 96
  },
  "hsl": {
    "h": 156.792,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56145,
    "c": 0.11317,
    "h": 162
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#1F8960
secondary
#B94B75
accent
#4281E6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F8960

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

Preview Lab → · Contrast checker → · Palette generator →

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