#1F8B56#1F8B56

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

Color values

HEX#1F8B56
RGBrgb(31, 139, 86)
HSLhsl(151, 64%, 33%)
HSVhsv(151, 78%, 55%)
CMYKcmyk(77.7%, 0%, 38.1%, 45.5%)
CIE-LABlab(51.18, -42.45, 20.08)
CIE-LCHlch(51.18, 46.96, 154.68°)
OKLaboklab(56.46% -0.1147 0.0503)
OKLCHoklch(56.46% 0.125 156.3)
XYZxyz(11.4763, 19.4271, 11.9473)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B56 #8B1F54
analogous
#1F8B20 #1F8B56 #1F8A8B
triadic
#1F8B56 #561F8B #8B561F
tetradic
#1F8B56 #201F8B #8B1F54 #8A8B1F
square
#1F8B56 #201F8B #8B1F54 #8A8B1F
split-complementary
#1F8B56 #8B1F8A #8B201F
monochromatic
#092718 #145937 #1F8B56 #2ABD75 #4DD793

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8B56#FFFFFF#000000##000000
##1F8B561.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)
#8A7F52
Deuteranopia (green-blind)
#7D765A
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8b56;
/* rgb */ color: rgb(31, 139, 86);
/* oklch */ color: oklch(56.5% 0.125 156.3);
Tailwind
colors: {
  custom: {
    50: '#6dae86',
    500: '#1f8b56',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b56;
$custom-light: #6dae86;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b56",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 86
  },
  "hsl": {
    "h": 150.556,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.12523,
    "h": 156.3
  },
  "luminance": 0.19428
}

Semantic roles & 50–950 ramp

primary
#1F8B56
secondary
#BA4C82
accent
#4192E7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8B56

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

Preview Lab → · Contrast checker → · Palette generator →

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