#1F8961#1F8961

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

Color values

HEX#1F8961
RGBrgb(31, 137, 97)
HSLhsl(157, 63%, 33%)
HSVhsv(157, 77%, 54%)
CMYKcmyk(77.4%, 0%, 29.2%, 46.3%)
CIE-LABlab(50.74, -39.18, 13.25)
CIE-LCHlch(50.74, 41.35, 161.32°)
OKLaboklab(56.17% -0.1071 0.0337)
OKLCHoklch(56.17% 0.112 162.5)
XYZxyz(11.6671, 19.0443, 14.3680)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8961 #891F47
analogous
#1F892C #1F8961 #1F7C89
triadic
#1F8961 #611F89 #89611F
tetradic
#1F8961 #2C1F89 #891F47 #7C891F
square
#1F8961 #2C1F89 #891F47 #7C891F
split-complementary
#1F8961 #891F7C #892C1F
monochromatic
#08251A #14573E #1F8961 #2ABB84 #4CD6A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8961#FFFFFF#000000##000000
##1F89611.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)
#877E5F
Deuteranopia (green-blind)
#7A7564
Tritanopia (blue-blind)
#00897E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8961;
/* rgb */ color: rgb(31, 137, 97);
/* oklch */ color: oklch(56.2% 0.112 162.5);
Tailwind
colors: {
  custom: {
    50: '#6cac8e',
    500: '#1f8961',
    950: '#000000',
  },
}
SCSS
$custom: #1f8961;
$custom-light: #6cac8e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8961",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 97
  },
  "hsl": {
    "h": 157.358,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5617,
    "c": 0.11228,
    "h": 162.5
  },
  "luminance": 0.19046
}

Semantic roles & 50–950 ramp

primary
#1F8961
secondary
#B94B74
accent
#4280E6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F8961

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

Preview Lab → · Contrast checker → · Palette generator →

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