#1F8B57#1F8B57

#1F8B57 is a mid, vivid teal. Relative luminance 0.194; OKLCH L 56.5% C 0.124 H 156.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#1F8B57
RGBrgb(31, 139, 87)
HSLhsl(151, 64%, 33%)
HSVhsv(151, 78%, 55%)
CMYKcmyk(77.7%, 0%, 37.4%, 45.5%)
CIE-LABlab(51.20, -42.24, 19.55)
CIE-LCHlch(51.20, 46.55, 155.17°)
OKLaboklab(56.48% -0.1142 0.0491)
OKLCHoklch(56.48% 0.124 156.8)
XYZxyz(11.5169, 19.4433, 12.1609)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B57 #8B1F53
analogous
#1F8B21 #1F8B57 #1F898B
triadic
#1F8B57 #571F8B #8B571F
tetradic
#1F8B57 #211F8B #8B1F53 #898B1F
square
#1F8B57 #211F8B #8B1F53 #898B1F
split-complementary
#1F8B57 #8B1F89 #8B211F
monochromatic
#092718 #145938 #1F8B57 #2ABD76 #4DD795

Accessibility & contrast

On white

4.30
#1F8B57 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#1F8B57 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B57
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B57#FFFFFF#000000##000000
##1F8B571.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8b57;
/* rgb */ color: rgb(31, 139, 87);
/* oklch */ color: oklch(56.5% 0.124 156.8);
Tailwind
colors: {
  custom: {
    50: '#6dae86',
    500: '#1f8b57',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b57;
$custom-light: #6dae86;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b57",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 87
  },
  "hsl": {
    "h": 151.111,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56484,
    "c": 0.12427,
    "h": 156.8
  },
  "luminance": 0.19445
}

Semantic roles & 50–950 ramp

primary
#1F8B57
secondary
#BA4C81
accent
#4191E7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8B57

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

Preview Lab → · Contrast checker → · Palette generator →

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