#1F875F#1F875F

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

Color values

HEX#1F875F
RGBrgb(31, 135, 95)
HSLhsl(157, 63%, 33%)
HSVhsv(157, 77%, 53%)
CMYKcmyk(77%, 0%, 29.6%, 47.1%)
CIE-LABlab(50.03, -38.80, 13.41)
CIE-LCHlch(50.03, 41.06, 160.94°)
OKLaboklab(55.57% -0.106 0.0341)
OKLCHoklch(55.57% 0.111 162.2)
XYZxyz(11.2934, 18.4441, 13.7891)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F875F #871F47
analogous
#1F872B #1F875F #1F7B87
triadic
#1F875F #5F1F87 #875F1F
tetradic
#1F875F #2B1F87 #871F47 #7B871F
square
#1F875F #2B1F87 #871F47 #7B871F
split-complementary
#1F875F #871F7B #872B1F
monochromatic
#082319 #14553C #1F875F #2AB982 #4BD6A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F875F#FFFFFF#000000##000000
##1F875F1.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)
#857D5D
Deuteranopia (green-blind)
#787362
Tritanopia (blue-blind)
#00877C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f875f;
/* rgb */ color: rgb(31, 135, 95);
/* oklch */ color: oklch(55.6% 0.111 162.2);
Tailwind
colors: {
  custom: {
    50: '#6cab8c',
    500: '#1f875f',
    950: '#000000',
  },
}
SCSS
$custom: #1f875f;
$custom-light: #6cab8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f875f",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 95
  },
  "hsl": {
    "h": 156.923,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55573,
    "c": 0.11136,
    "h": 162.2
  },
  "luminance": 0.18445
}

Semantic roles & 50–950 ramp

primary
#1F875F
secondary
#B84A74
accent
#4281E6
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #1F875F

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

Preview Lab → · Contrast checker → · Palette generator →

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