#31B977#31B977

#31B977 is a light, vivid teal. Relative luminance 0.367; OKLCH L 69.8% C 0.150 H 157.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#31B977
RGBrgb(49, 185, 119)
HSLhsl(151, 58%, 46%)
HSVhsv(151, 74%, 73%)
CMYKcmyk(73.5%, 0%, 35.7%, 27.5%)
CIE-LABlab(67.04, -51.18, 23.42)
CIE-LCHlch(67.04, 56.29, 155.42°)
OKLaboklab(69.82% -0.1385 0.0589)
OKLCHoklch(69.82% 0.151 157)
XYZxyz(21.9432, 36.6802, 23.3727)
Luminance0.3668 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B977 #B93173
analogous
#31B933 #31B977 #31B7B9
triadic
#31B977 #7731B9 #B97731
tetradic
#31B977 #3331B9 #B93173 #B7B931
square
#31B977 #3331B9 #B93173 #B7B931
split-complementary
#31B977 #B931B7 #B93331
monochromatic
#175839 #248958 #31B977 #55D295 #86DFB4

Accessibility & contrast

On white

2.52
#31B977 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#31B977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B977
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B977#FFFFFF#000000##000000
##31B9771.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA73
Deuteranopia (green-blind)
#A79E7B
Tritanopia (blue-blind)
#00B7A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b977;
/* rgb */ color: rgb(49, 185, 119);
/* oklch */ color: oklch(69.8% 0.150 157.0);
Tailwind
colors: {
  custom: {
    50: '#7ccf9e',
    500: '#31b977',
    950: '#000000',
  },
}
SCSS
$custom: #31b977;
$custom-light: #7ccf9e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b977",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 119
  },
  "hsl": {
    "h": 150.882,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69824,
    "c": 0.1505,
    "h": 157
  },
  "luminance": 0.36683
}

Semantic roles & 50–950 ramp

primary
#31B977
secondary
#C87DA2
accent
#4692E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B977

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

Preview Lab → · Contrast checker → · Palette generator →

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