#1F8955#1F8955

#1F8955 is a mid, vivid teal. Relative luminance 0.188; OKLCH L 55.9% C 0.123 H 156.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#1F8955
RGBrgb(31, 137, 85)
HSLhsl(151, 63%, 33%)
HSVhsv(151, 77%, 54%)
CMYKcmyk(77.4%, 0%, 38%, 46.3%)
CIE-LABlab(50.50, -41.86, 19.73)
CIE-LCHlch(50.50, 46.28, 154.77°)
OKLaboklab(55.89% -0.1131 0.0494)
OKLCHoklch(55.89% 0.123 156.4)
XYZxyz(11.1493, 18.8372, 11.6409)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8955 #891F53
analogous
#1F8920 #1F8955 #1F8889
triadic
#1F8955 #551F89 #89551F
tetradic
#1F8955 #201F89 #891F53 #88891F
square
#1F8955 #201F89 #891F53 #88891F
split-complementary
#1F8955 #891F88 #89201F
monochromatic
#082517 #145736 #1F8955 #2ABB74 #4CD693

Accessibility & contrast

On white

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

On black

4.77
#1F8955 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8955
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8955#FFFFFF#000000##000000
##1F89551.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887E52
Deuteranopia (green-blind)
#7B7558
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8955;
/* rgb */ color: rgb(31, 137, 85);
/* oklch */ color: oklch(55.9% 0.123 156.4);
Tailwind
colors: {
  custom: {
    50: '#6cac85',
    500: '#1f8955',
    950: '#000000',
  },
}
SCSS
$custom: #1f8955;
$custom-light: #6cac85;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8955",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 85
  },
  "hsl": {
    "h": 150.566,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5589,
    "c": 0.12343,
    "h": 156.4
  },
  "luminance": 0.18839
}

Semantic roles & 50–950 ramp

primary
#1F8955
secondary
#B94B81
accent
#4292E6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8955

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

Preview Lab → · Contrast checker → · Palette generator →

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