#31B577#31B577

#31B577 is a light, vivid teal. Relative luminance 0.350; OKLCH L 68.8% C 0.145 H 157.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#31B577
RGBrgb(49, 181, 119)
HSLhsl(152, 57%, 45%)
HSVhsv(152, 73%, 71%)
CMYKcmyk(72.9%, 0%, 34.3%, 29%)
CIE-LABlab(65.77, -49.63, 21.71)
CIE-LCHlch(65.77, 54.17, 156.38°)
OKLaboklab(68.78% -0.1345 0.0547)
OKLCHoklch(68.78% 0.145 157.9)
XYZxyz(21.1182, 35.0302, 23.0977)
Luminance0.3503 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B577 #B5316F
analogous
#31B535 #31B577 #31B1B5
triadic
#31B577 #7731B5 #B57731
tetradic
#31B577 #3531B5 #B5316F #B1B531
square
#31B577 #3531B5 #B5316F #B1B531
split-complementary
#31B577 #B531B1 #B53531
monochromatic
#175538 #248557 #31B577 #53D095 #83DDB3

Accessibility & contrast

On white

2.62
#31B577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#31B577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B577
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B577#FFFFFF#000000##000000
##31B5771.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A773
Deuteranopia (green-blind)
#A39B7B
Tritanopia (blue-blind)
#00B4A5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b577;
/* rgb */ color: rgb(49, 181, 119);
/* oklch */ color: oklch(68.8% 0.145 157.9);
Tailwind
colors: {
  custom: {
    50: '#7ccc9e',
    500: '#31b577',
    950: '#000000',
  },
}
SCSS
$custom: #31b577;
$custom-light: #7ccc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b577",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 119
  },
  "hsl": {
    "h": 151.818,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68783,
    "c": 0.14524,
    "h": 157.9
  },
  "luminance": 0.35033
}

Semantic roles & 50–950 ramp

primary
#31B577
secondary
#C77B9F
accent
#478FE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B577

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

Preview Lab → · Contrast checker → · Palette generator →

#31B577 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva