#1F8A56#1F8A56

#1F8A56 is a mid, vivid teal. Relative luminance 0.191; OKLCH L 56.2% C 0.124 H 156.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#1F8A56
RGBrgb(31, 138, 86)
HSLhsl(151, 63%, 33%)
HSVhsv(151, 78%, 54%)
CMYKcmyk(77.5%, 0%, 37.7%, 45.9%)
CIE-LABlab(50.85, -42.05, 19.64)
CIE-LCHlch(50.85, 46.41, 154.97°)
OKLaboklab(56.19% -0.1136 0.0493)
OKLCHoklch(56.19% 0.124 156.6)
XYZxyz(11.3322, 19.1388, 11.8992)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A56 #8A1F53
analogous
#1F8A20 #1F8A56 #1F888A
triadic
#1F8A56 #561F8A #8A561F
tetradic
#1F8A56 #201F8A #8A1F53 #888A1F
square
#1F8A56 #201F8A #8A1F53 #888A1F
split-complementary
#1F8A56 #8A1F88 #8A201F
monochromatic
#092618 #145837 #1F8A56 #2ABC75 #4CD794

Accessibility & contrast

On white

4.35
#1F8A56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#1F8A56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A56
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A56#FFFFFF#000000##000000
##1F8A561.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897F53
Deuteranopia (green-blind)
#7C7559
Tritanopia (blue-blind)
#00897D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8a56;
/* rgb */ color: rgb(31, 138, 86);
/* oklch */ color: oklch(56.2% 0.124 156.6);
Tailwind
colors: {
  custom: {
    50: '#6cad86',
    500: '#1f8a56',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a56;
$custom-light: #6cad86;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a56",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 86
  },
  "hsl": {
    "h": 150.841,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56187,
    "c": 0.12385,
    "h": 156.6
  },
  "luminance": 0.1914
}

Semantic roles & 50–950 ramp

primary
#1F8A56
secondary
#BA4B81
accent
#4192E6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8A56

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

Preview Lab → · Contrast checker → · Palette generator →

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