#1F895F#1F895F

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

Color values

HEX#1F895F
RGBrgb(31, 137, 95)
HSLhsl(156, 63%, 33%)
HSVhsv(156, 77%, 54%)
CMYKcmyk(77.4%, 0%, 30.7%, 46.3%)
CIE-LABlab(50.70, -39.65, 14.33)
CIE-LCHlch(50.70, 42.16, 160.13°)
OKLaboklab(56.12% -0.1081 0.0364)
OKLCHoklch(56.12% 0.114 161.4)
XYZxyz(11.5751, 19.0075, 13.8830)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F895F #891F49
analogous
#1F892A #1F895F #1F7E89
triadic
#1F895F #5F1F89 #895F1F
tetradic
#1F895F #2A1F89 #891F49 #7E891F
square
#1F895F #2A1F89 #891F49 #7E891F
split-complementary
#1F895F #891F7E #892A1F
monochromatic
#08251A #14573C #1F895F #2ABB82 #4CD6A0

Accessibility & contrast

On white

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

On black

4.80
#1F895F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F895F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F895F#FFFFFF#000000##000000
##1F895F1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f895f;
/* rgb */ color: rgb(31, 137, 95);
/* oklch */ color: oklch(56.1% 0.114 161.4);
Tailwind
colors: {
  custom: {
    50: '#6cac8c',
    500: '#1f895f',
    950: '#000000',
  },
}
SCSS
$custom: #1f895f;
$custom-light: #6cac8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f895f",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 95
  },
  "hsl": {
    "h": 156.226,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5612,
    "c": 0.11407,
    "h": 161.4
  },
  "luminance": 0.19009
}

Semantic roles & 50–950 ramp

primary
#1F895F
secondary
#B94B76
accent
#4283E6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F895F

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

Preview Lab → · Contrast checker → · Palette generator →

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