#1F875A#1F875A

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

Color values

HEX#1F875A
RGBrgb(31, 135, 90)
HSLhsl(154, 63%, 33%)
HSVhsv(154, 77%, 53%)
CMYKcmyk(77%, 0%, 33.3%, 47.1%)
CIE-LABlab(49.93, -39.96, 16.12)
CIE-LCHlch(49.93, 43.09, 158.02°)
OKLaboklab(55.45% -0.1085 0.0408)
OKLCHoklch(55.45% 0.116 159.4)
XYZxyz(11.0734, 18.3561, 12.6304)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F875A #871F4C
analogous
#1F8726 #1F875A #1F8087
triadic
#1F875A #5A1F87 #875A1F
tetradic
#1F875A #261F87 #871F4C #80871F
square
#1F875A #261F87 #871F4C #80871F
split-complementary
#1F875A #871F80 #87261F
monochromatic
#082318 #145539 #1F875A #2AB97B #4BD69A

Accessibility & contrast

On white

4.50
#1F875A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#1F875A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F875A
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F875A#FFFFFF#000000##000000
##1F875A1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857C57
Deuteranopia (green-blind)
#79735D
Tritanopia (blue-blind)
#00867B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f875a;
/* rgb */ color: rgb(31, 135, 90);
/* oklch */ color: oklch(55.5% 0.116 159.4);
Tailwind
colors: {
  custom: {
    50: '#6cab89',
    500: '#1f875a',
    950: '#000000',
  },
}
SCSS
$custom: #1f875a;
$custom-light: #6cab89;
$custom-dark: #000000;
JSON
{
  "hex": "#1f875a",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 90
  },
  "hsl": {
    "h": 154.038,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55452,
    "c": 0.11594,
    "h": 159.4
  },
  "luminance": 0.18357
}

Semantic roles & 50–950 ramp

primary
#1F875A
secondary
#B84A79
accent
#4289E6
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100B
muted
#7A7F7C

Preview Lab

Preview with #1F875A

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

Preview Lab → · Contrast checker → · Palette generator →

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