#31B774#31B774

#31B774 is a light, vivid teal. Relative luminance 0.358; OKLCH L 69.2% C 0.151 H 156.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#31B774
RGBrgb(49, 183, 116)
HSLhsl(150, 58%, 45%)
HSVhsv(150, 73%, 72%)
CMYKcmyk(73.2%, 0%, 36.6%, 28.2%)
CIE-LABlab(66.35, -51.01, 24.09)
CIE-LCHlch(66.35, 56.42, 154.72°)
OKLaboklab(69.24% -0.1379 0.0604)
OKLCHoklch(69.24% 0.151 156.3)
XYZxyz(21.3504, 35.7784, 22.3003)
Luminance0.3578 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B774 #B73174
analogous
#31B731 #31B774 #31B7B7
triadic
#31B774 #7431B7 #B77431
tetradic
#31B774 #3131B7 #B73174 #B7B731
square
#31B774 #3131B7 #B73174 #B7B731
split-complementary
#31B774 #B731B7 #B73131
monochromatic
#175637 #248755 #31B774 #54D193 #84DEB1

Accessibility & contrast

On white

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

On black

8.16
#31B774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B774
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B774#FFFFFF#000000##000000
##31B7741.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A870
Deuteranopia (green-blind)
#A69D78
Tritanopia (blue-blind)
#00B5A6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b774;
/* rgb */ color: rgb(49, 183, 116);
/* oklch */ color: oklch(69.2% 0.151 156.3);
Tailwind
colors: {
  custom: {
    50: '#7cce9c',
    500: '#31b774',
    950: '#000000',
  },
}
SCSS
$custom: #31b774;
$custom-light: #7cce9c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b774",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 116
  },
  "hsl": {
    "h": 150,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69241,
    "c": 0.15061,
    "h": 156.3
  },
  "luminance": 0.35781
}

Semantic roles & 50–950 ramp

primary
#31B774
secondary
#C87CA2
accent
#4794E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B774

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

Preview Lab → · Contrast checker → · Palette generator →

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