#31B779#31B779

#31B779 is a light, vivid teal. Relative luminance 0.359; OKLCH L 69.3% C 0.146 H 158.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#31B779
RGBrgb(49, 183, 121)
HSLhsl(152, 58%, 45%)
HSVhsv(152, 73%, 72%)
CMYKcmyk(73.2%, 0%, 33.9%, 28.2%)
CIE-LABlab(66.44, -50.00, 21.54)
CIE-LCHlch(66.44, 54.44, 156.69°)
OKLaboklab(69.35% -0.1356 0.0543)
OKLCHoklch(69.35% 0.146 158.2)
XYZxyz(21.6491, 35.8979, 23.8735)
Luminance0.3590 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B779 #B7316F
analogous
#31B736 #31B779 #31B2B7
triadic
#31B779 #7931B7 #B77931
tetradic
#31B779 #3631B7 #B7316F #B2B731
square
#31B779 #3631B7 #B7316F #B2B731
split-complementary
#31B779 #B731B2 #B73631
monochromatic
#175639 #248759 #31B779 #54D197 #84DEB5

Accessibility & contrast

On white

2.57
#31B779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#31B779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B779
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B779#FFFFFF#000000##000000
##31B7791.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A975
Deuteranopia (green-blind)
#A59D7D
Tritanopia (blue-blind)
#00B6A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b779;
/* rgb */ color: rgb(49, 183, 121);
/* oklch */ color: oklch(69.3% 0.146 158.2);
Tailwind
colors: {
  custom: {
    50: '#7ccda0',
    500: '#31b779',
    950: '#000000',
  },
}
SCSS
$custom: #31b779;
$custom-light: #7ccda0;
$custom-dark: #000000;
JSON
{
  "hex": "#31b779",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 121
  },
  "hsl": {
    "h": 152.239,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69347,
    "c": 0.14607,
    "h": 158.2
  },
  "luminance": 0.359
}

Semantic roles & 50–950 ramp

primary
#31B779
secondary
#C87C9F
accent
#478EE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B779

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

Preview Lab → · Contrast checker → · Palette generator →

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