#1F875E#1F875E

#1F875E is a mid, moderate teal. Relative luminance 0.184; OKLCH L 55.5% C 0.112 H 161.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1F875E
RGBrgb(31, 135, 94)
HSLhsl(156, 63%, 33%)
HSVhsv(156, 77%, 53%)
CMYKcmyk(77%, 0%, 30.4%, 47.1%)
CIE-LABlab(50.01, -39.04, 13.95)
CIE-LCHlch(50.01, 41.46, 160.33°)
OKLaboklab(55.55% -0.1065 0.0355)
OKLCHoklch(55.55% 0.112 161.6)
XYZxyz(11.2482, 18.4261, 13.5513)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F875E #871F48
analogous
#1F872A #1F875E #1F7C87
triadic
#1F875E #5E1F87 #875E1F
tetradic
#1F875E #2A1F87 #871F48 #7C871F
square
#1F875E #2A1F87 #871F48 #7C871F
split-complementary
#1F875E #871F7C #872A1F
monochromatic
#082319 #14553B #1F875E #2AB981 #4BD69F

Accessibility & contrast

On white

4.48
#1F875E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F875E#FFFFFF#000000##000000
##1F875E1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f875e;
/* rgb */ color: rgb(31, 135, 94);
/* oklch */ color: oklch(55.5% 0.112 161.6);
Tailwind
colors: {
  custom: {
    50: '#6cab8b',
    500: '#1f875e',
    950: '#000000',
  },
}
SCSS
$custom: #1f875e;
$custom-light: #6cab8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f875e",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 94
  },
  "hsl": {
    "h": 156.346,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55548,
    "c": 0.11226,
    "h": 161.6
  },
  "luminance": 0.18427
}

Semantic roles & 50–950 ramp

primary
#1F875E
secondary
#B84A75
accent
#4283E6
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #1F875E

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

Preview Lab → · Contrast checker → · Palette generator →

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