#1F875C#1F875C

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

Color values

HEX#1F875C
RGBrgb(31, 135, 92)
HSLhsl(155, 63%, 33%)
HSVhsv(155, 77%, 53%)
CMYKcmyk(77%, 0%, 31.9%, 47.1%)
CIE-LABlab(49.97, -39.50, 15.04)
CIE-LCHlch(49.97, 42.27, 159.16°)
OKLaboklab(55.5% -0.1075 0.0381)
OKLCHoklch(55.5% 0.114 160.5)
XYZxyz(11.1596, 18.3906, 13.0847)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F875C #871F4A
analogous
#1F8728 #1F875C #1F7E87
triadic
#1F875C #5C1F87 #875C1F
tetradic
#1F875C #281F87 #871F4A #7E871F
square
#1F875C #281F87 #871F4A #7E871F
split-complementary
#1F875C #871F7E #87281F
monochromatic
#082318 #14553A #1F875C #2AB97E #4BD69C

Accessibility & contrast

On white

4.49
#1F875C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#1F875C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F875C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F875C#FFFFFF#000000##000000
##1F875C1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857C59
Deuteranopia (green-blind)
#78735F
Tritanopia (blue-blind)
#00867C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f875c;
/* rgb */ color: rgb(31, 135, 92);
/* oklch */ color: oklch(55.5% 0.114 160.5);
Tailwind
colors: {
  custom: {
    50: '#6cab8a',
    500: '#1f875c',
    950: '#000000',
  },
}
SCSS
$custom: #1f875c;
$custom-light: #6cab8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f875c",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 92
  },
  "hsl": {
    "h": 155.192,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55499,
    "c": 0.11409,
    "h": 160.5
  },
  "luminance": 0.18392
}

Semantic roles & 50–950 ramp

primary
#1F875C
secondary
#B84A77
accent
#4286E6
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100B
muted
#7A7F7C

Preview Lab

Preview with #1F875C

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

Preview Lab → · Contrast checker → · Palette generator →

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