#1F8B5A#1F8B5A

#1F8B5A is a mid, vivid teal. Relative luminance 0.195; OKLCH L 56.6% C 0.121 H 158.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#1F8B5A
RGBrgb(31, 139, 90)
HSLhsl(153, 64%, 33%)
HSVhsv(153, 78%, 55%)
CMYKcmyk(77.7%, 0%, 35.3%, 45.5%)
CIE-LABlab(51.26, -41.60, 17.94)
CIE-LCHlch(51.26, 45.30, 156.67°)
OKLaboklab(56.55% -0.1127 0.0452)
OKLCHoklch(56.55% 0.121 158.1)
XYZxyz(11.6420, 19.4933, 12.8199)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B5A #8B1F50
analogous
#1F8B24 #1F8B5A #1F868B
triadic
#1F8B5A #5A1F8B #8B5A1F
tetradic
#1F8B5A #241F8B #8B1F50 #868B1F
square
#1F8B5A #241F8B #8B1F50 #868B1F
split-complementary
#1F8B5A #8B1F86 #8B241F
monochromatic
#092719 #14593A #1F8B5A #2ABD7A #4DD799

Accessibility & contrast

On white

4.29
#1F8B5A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#1F8B5A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B5A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B5A#FFFFFF#000000##000000
##1F8B5A1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8057
Deuteranopia (green-blind)
#7D765D
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8b5a;
/* rgb */ color: rgb(31, 139, 90);
/* oklch */ color: oklch(56.6% 0.121 158.1);
Tailwind
colors: {
  custom: {
    50: '#6dae89',
    500: '#1f8b5a',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b5a;
$custom-light: #6dae89;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b5a",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 90
  },
  "hsl": {
    "h": 152.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56551,
    "c": 0.12142,
    "h": 158.1
  },
  "luminance": 0.19495
}

Semantic roles & 50–950 ramp

primary
#1F8B5A
secondary
#BA4C7E
accent
#418CE7
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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