#31B477#31B477

#31B477 is a light, vivid teal. Relative luminance 0.346; OKLCH L 68.5% C 0.144 H 158.1°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#31B477
RGBrgb(49, 180, 119)
HSLhsl(152, 57%, 45%)
HSVhsv(152, 73%, 71%)
CMYKcmyk(72.8%, 0%, 33.9%, 29.4%)
CIE-LABlab(65.46, -49.24, 21.28)
CIE-LCHlch(65.46, 53.64, 156.63°)
OKLaboklab(68.52% -0.1335 0.0537)
OKLCHoklch(68.52% 0.144 158.1)
XYZxyz(20.9156, 34.6250, 23.0302)
Luminance0.3463 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B477 #B4316E
analogous
#31B436 #31B477 #31B0B4
triadic
#31B477 #7731B4 #B47731
tetradic
#31B477 #3631B4 #B4316E #B0B431
square
#31B477 #3631B4 #B4316E #B0B431
split-complementary
#31B477 #B431B0 #B43631
monochromatic
#175437 #248457 #31B477 #52D095 #82DDB3

Accessibility & contrast

On white

2.65
#31B477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#31B477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B477
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B477#FFFFFF#000000##000000
##31B4771.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A673
Deuteranopia (green-blind)
#A29A7B
Tritanopia (blue-blind)
#00B3A4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b477;
/* rgb */ color: rgb(49, 180, 119);
/* oklch */ color: oklch(68.5% 0.144 158.1);
Tailwind
colors: {
  custom: {
    50: '#7bcb9e',
    500: '#31b477',
    950: '#000000',
  },
}
SCSS
$custom: #31b477;
$custom-light: #7bcb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b477",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 119
  },
  "hsl": {
    "h": 152.061,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68522,
    "c": 0.14392,
    "h": 158.1
  },
  "luminance": 0.34627
}

Semantic roles & 50–950 ramp

primary
#31B477
secondary
#C67B9E
accent
#478FE0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B477

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

Preview Lab → · Contrast checker → · Palette generator →

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