#1F8867#1F8867

#1F8867 is a mid, moderate teal. Relative luminance 0.189; OKLCH L 56.1% C 0.106 H 166.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1F8867
RGBrgb(31, 136, 103)
HSLhsl(161, 63%, 33%)
HSVhsv(161, 77%, 53%)
CMYKcmyk(77.2%, 0%, 24.3%, 46.7%)
CIE-LABlab(50.54, -37.28, 9.52)
CIE-LCHlch(50.54, 38.48, 165.67°)
OKLaboklab(56.05% -0.103 0.0243)
OKLCHoklch(56.05% 0.106 166.7)
XYZxyz(11.8161, 18.8775, 15.8503)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8867 #881F40
analogous
#1F8833 #1F8867 #1F7488
triadic
#1F8867 #671F88 #88671F
tetradic
#1F8867 #331F88 #881F40 #74881F
square
#1F8867 #331F88 #881F40 #74881F
split-complementary
#1F8867 #881F74 #88331F
monochromatic
#08241C #145641 #1F8867 #2ABA8D #4BD6AA

Accessibility & contrast

On white

4.40
#1F8867 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#1F8867 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8867
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8867#FFFFFF#000000##000000
##1F88671.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857E65
Deuteranopia (green-blind)
#777469
Tritanopia (blue-blind)
#00887F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8867;
/* rgb */ color: rgb(31, 136, 103);
/* oklch */ color: oklch(56.1% 0.106 166.7);
Tailwind
colors: {
  custom: {
    50: '#6cab92',
    500: '#1f8867',
    950: '#000000',
  },
}
SCSS
$custom: #1f8867;
$custom-light: #6cab92;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8867",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 103
  },
  "hsl": {
    "h": 161.143,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56054,
    "c": 0.10585,
    "h": 166.7
  },
  "luminance": 0.18879
}

Semantic roles & 50–950 ramp

primary
#1F8867
secondary
#B94A6D
accent
#4275E6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100D
muted
#7B7F7D

Preview Lab

Preview with #1F8867

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

Preview Lab → · Contrast checker → · Palette generator →

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