#1F875B#1F875B

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

Color values

HEX#1F875B
RGBrgb(31, 135, 91)
HSLhsl(155, 63%, 33%)
HSVhsv(155, 77%, 53%)
CMYKcmyk(77%, 0%, 32.6%, 47.1%)
CIE-LABlab(49.95, -39.73, 15.58)
CIE-LCHlch(49.95, 42.68, 158.59°)
OKLaboklab(55.47% -0.108 0.0395)
OKLCHoklch(55.47% 0.115 159.9)
XYZxyz(11.1162, 18.3733, 12.8560)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F875B #871F4B
analogous
#1F8727 #1F875B #1F7F87
triadic
#1F875B #5B1F87 #875B1F
tetradic
#1F875B #271F87 #871F4B #7F871F
square
#1F875B #271F87 #871F4B #7F871F
split-complementary
#1F875B #871F7F #87271F
monochromatic
#082318 #145539 #1F875B #2AB97D #4BD69B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F875B#FFFFFF#000000##000000
##1F875B1.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)
#857C58
Deuteranopia (green-blind)
#79735E
Tritanopia (blue-blind)
#00867B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f875b;
/* rgb */ color: rgb(31, 135, 91);
/* oklch */ color: oklch(55.5% 0.115 159.9);
Tailwind
colors: {
  custom: {
    50: '#6cab89',
    500: '#1f875b',
    950: '#000000',
  },
}
SCSS
$custom: #1f875b;
$custom-light: #6cab89;
$custom-dark: #000000;
JSON
{
  "hex": "#1f875b",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 91
  },
  "hsl": {
    "h": 154.615,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55475,
    "c": 0.11501,
    "h": 159.9
  },
  "luminance": 0.18375
}

Semantic roles & 50–950 ramp

primary
#1F875B
secondary
#B84A78
accent
#4287E6
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100B
muted
#7A7F7C

Preview Lab

Preview with #1F875B

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

Preview Lab → · Contrast checker → · Palette generator →

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