#1F875D#1F875D

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

Color values

HEX#1F875D
RGBrgb(31, 135, 93)
HSLhsl(156, 63%, 33%)
HSVhsv(156, 77%, 53%)
CMYKcmyk(77%, 0%, 31.1%, 47.1%)
CIE-LABlab(49.99, -39.27, 14.50)
CIE-LCHlch(49.99, 41.86, 159.74°)
OKLaboklab(55.52% -0.107 0.0368)
OKLCHoklch(55.52% 0.113 161)
XYZxyz(11.2036, 18.4082, 13.3165)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F875D #871F49
analogous
#1F8729 #1F875D #1F7D87
triadic
#1F875D #5D1F87 #875D1F
tetradic
#1F875D #291F87 #871F49 #7D871F
square
#1F875D #291F87 #871F49 #7D871F
split-complementary
#1F875D #871F7D #87291F
monochromatic
#082318 #14553B #1F875D #2AB97F #4BD69E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F875D#FFFFFF#000000##000000
##1F875D1.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)
#857C5B
Deuteranopia (green-blind)
#787360
Tritanopia (blue-blind)
#00877C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f875d;
/* rgb */ color: rgb(31, 135, 93);
/* oklch */ color: oklch(55.5% 0.113 161.0);
Tailwind
colors: {
  custom: {
    50: '#6cab8b',
    500: '#1f875d',
    950: '#000000',
  },
}
SCSS
$custom: #1f875d;
$custom-light: #6cab8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f875d",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 93
  },
  "hsl": {
    "h": 155.769,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55523,
    "c": 0.11317,
    "h": 161
  },
  "luminance": 0.1841
}

Semantic roles & 50–950 ramp

primary
#1F875D
secondary
#B84A76
accent
#4284E6
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #1F875D

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

Preview Lab → · Contrast checker → · Palette generator →

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