#1F8A57#1F8A57

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

Color values

HEX#1F8A57
RGBrgb(31, 138, 87)
HSLhsl(151, 63%, 33%)
HSVhsv(151, 78%, 54%)
CMYKcmyk(77.5%, 0%, 37%, 45.9%)
CIE-LABlab(50.87, -41.84, 19.10)
CIE-LCHlch(50.87, 45.99, 155.46°)
OKLaboklab(56.21% -0.1131 0.048)
OKLCHoklch(56.21% 0.123 157)
XYZxyz(11.3727, 19.1550, 12.1129)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A57 #8A1F52
analogous
#1F8A21 #1F8A57 #1F878A
triadic
#1F8A57 #571F8A #8A571F
tetradic
#1F8A57 #211F8A #8A1F52 #878A1F
square
#1F8A57 #211F8A #8A1F52 #878A1F
split-complementary
#1F8A57 #8A1F87 #8A211F
monochromatic
#092618 #145837 #1F8A57 #2ABC77 #4CD795

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8A57#FFFFFF#000000##000000
##1F8A571.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)
#897F54
Deuteranopia (green-blind)
#7C755A
Tritanopia (blue-blind)
#00897D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8a57;
/* rgb */ color: rgb(31, 138, 87);
/* oklch */ color: oklch(56.2% 0.123 157.0);
Tailwind
colors: {
  custom: {
    50: '#6cad86',
    500: '#1f8a57',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a57;
$custom-light: #6cad86;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a57",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 87
  },
  "hsl": {
    "h": 151.402,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56209,
    "c": 0.1229,
    "h": 157
  },
  "luminance": 0.19156
}

Semantic roles & 50–950 ramp

primary
#1F8A57
secondary
#BA4B80
accent
#4190E6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8A57

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

Preview Lab → · Contrast checker → · Palette generator →

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