#1F8A5F#1F8A5F

#1F8A5F is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.4% C 0.115 H 161.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#1F8A5F
RGBrgb(31, 138, 95)
HSLhsl(156, 63%, 33%)
HSVhsv(156, 78%, 54%)
CMYKcmyk(77.5%, 0%, 31.2%, 45.9%)
CIE-LABlab(51.03, -40.06, 14.79)
CIE-LCHlch(51.03, 42.71, 159.74°)
OKLaboklab(56.39% -0.1091 0.0375)
OKLCHoklch(56.39% 0.115 161)
XYZxyz(11.7179, 19.2931, 13.9306)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A5F #8A1F4A
analogous
#1F8A29 #1F8A5F #1F7F8A
triadic
#1F8A5F #5F1F8A #8A5F1F
tetradic
#1F8A5F #291F8A #8A1F4A #7F8A1F
square
#1F8A5F #291F8A #8A1F4A #7F8A1F
split-complementary
#1F8A5F #8A1F7F #8A291F
monochromatic
#09261A #14583D #1F8A5F #2ABC81 #4CD79F

Accessibility & contrast

On white

4.32
#1F8A5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#1F8A5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A5F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A5F#FFFFFF#000000##000000
##1F8A5F1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887F5C
Deuteranopia (green-blind)
#7B7662
Tritanopia (blue-blind)
#008A7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8a5f;
/* rgb */ color: rgb(31, 138, 95);
/* oklch */ color: oklch(56.4% 0.115 161.0);
Tailwind
colors: {
  custom: {
    50: '#6cad8c',
    500: '#1f8a5f',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a5f;
$custom-light: #6cad8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a5f",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 95
  },
  "hsl": {
    "h": 155.888,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56394,
    "c": 0.11542,
    "h": 161
  },
  "luminance": 0.19294
}

Semantic roles & 50–950 ramp

primary
#1F8A5F
secondary
#BA4B78
accent
#4184E6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F8A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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