#1F8A5E#1F8A5E

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

Color values

HEX#1F8A5E
RGBrgb(31, 138, 94)
HSLhsl(155, 63%, 33%)
HSVhsv(155, 78%, 54%)
CMYKcmyk(77.5%, 0%, 31.9%, 45.9%)
CIE-LABlab(51.01, -40.29, 15.33)
CIE-LCHlch(51.01, 43.11, 159.17°)
OKLaboklab(56.37% -0.1097 0.0389)
OKLCHoklch(56.37% 0.116 160.5)
XYZxyz(11.6727, 19.2750, 13.6928)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A5E #8A1F4B
analogous
#1F8A28 #1F8A5E #1F808A
triadic
#1F8A5E #5E1F8A #8A5E1F
tetradic
#1F8A5E #281F8A #8A1F4B #808A1F
square
#1F8A5E #281F8A #8A1F4B #808A1F
split-complementary
#1F8A5E #8A1F80 #8A281F
monochromatic
#09261A #14583C #1F8A5E #2ABC80 #4CD79E

Accessibility & contrast

On white

4.33
#1F8A5E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8A5E#FFFFFF#000000##000000
##1F8A5E1.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887F5B
Deuteranopia (green-blind)
#7B7661
Tritanopia (blue-blind)
#00897E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8a5e;
/* rgb */ color: rgb(31, 138, 94);
/* oklch */ color: oklch(56.4% 0.116 160.5);
Tailwind
colors: {
  custom: {
    50: '#6cad8c',
    500: '#1f8a5e',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a5e;
$custom-light: #6cad8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a5e",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 94
  },
  "hsl": {
    "h": 155.327,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5637,
    "c": 0.11634,
    "h": 160.5
  },
  "luminance": 0.19276
}

Semantic roles & 50–950 ramp

primary
#1F8A5E
secondary
#BA4B79
accent
#4185E6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F8A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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