#31B77C#31B77C

#31B77C is a light, vivid teal. Relative luminance 0.360; OKLCH L 69.4% C 0.143 H 159.3°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#31B77C
RGBrgb(49, 183, 124)
HSLhsl(154, 58%, 45%)
HSVhsv(154, 73%, 72%)
CMYKcmyk(73.2%, 0%, 32.2%, 28.2%)
CIE-LABlab(66.50, -49.37, 20.00)
CIE-LCHlch(66.50, 53.27, 157.94°)
OKLaboklab(69.41% -0.1342 0.0506)
OKLCHoklch(69.41% 0.143 159.3)
XYZxyz(21.8360, 35.9726, 24.8575)
Luminance0.3598 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B77C #B7316C
analogous
#31B739 #31B77C #31AFB7
triadic
#31B77C #7C31B7 #B77C31
tetradic
#31B77C #3931B7 #B7316C #AFB731
square
#31B77C #3931B7 #B7316C #AFB731
split-complementary
#31B77C #B731AF #B73931
monochromatic
#17563B #24875B #31B77C #54D19A #84DEB7

Accessibility & contrast

On white

2.56
#31B77C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#31B77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B77C
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B77C#FFFFFF#000000##000000
##31B77C1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b77c;
/* rgb */ color: rgb(49, 183, 124);
/* oklch */ color: oklch(69.4% 0.143 159.3);
Tailwind
colors: {
  custom: {
    50: '#7ccda2',
    500: '#31b77c',
    950: '#000000',
  },
}
SCSS
$custom: #31b77c;
$custom-light: #7ccda2;
$custom-dark: #000000;
JSON
{
  "hex": "#31b77c",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 124
  },
  "hsl": {
    "h": 153.582,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69412,
    "c": 0.1434,
    "h": 159.3
  },
  "luminance": 0.35975
}

Semantic roles & 50–950 ramp

primary
#31B77C
secondary
#C87C9D
accent
#478BE1
background
#F8FCFA
surface
#EFF9F3
border
#CAD2CD
text
#0B140F
muted
#7C827F

Preview Lab

Preview with #31B77C

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

Preview Lab → · Contrast checker → · Palette generator →

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