#31B475#31B475

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

Color values

HEX#31B475
RGBrgb(49, 180, 117)
HSLhsl(151, 57%, 45%)
HSVhsv(151, 73%, 71%)
CMYKcmyk(72.8%, 0%, 35%, 29.4%)
CIE-LABlab(65.42, -49.65, 22.30)
CIE-LCHlch(65.42, 54.43, 155.81°)
OKLaboklab(68.48% -0.1345 0.0561)
OKLCHoklch(68.48% 0.146 157.3)
XYZxyz(20.7967, 34.5774, 22.4042)
Luminance0.3458 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B475 #B43170
analogous
#31B434 #31B475 #31B1B4
triadic
#31B475 #7531B4 #B47531
tetradic
#31B475 #3431B4 #B43170 #B1B431
square
#31B475 #3431B4 #B43170 #B1B431
split-complementary
#31B475 #B431B1 #B43431
monochromatic
#175436 #248456 #31B475 #52D093 #82DDB1

Accessibility & contrast

On white

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

On black

7.92
#31B475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B475
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B475#FFFFFF#000000##000000
##31B4751.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b475;
/* rgb */ color: rgb(49, 180, 117);
/* oklch */ color: oklch(68.5% 0.146 157.3);
Tailwind
colors: {
  custom: {
    50: '#7bcb9d',
    500: '#31b475',
    950: '#000000',
  },
}
SCSS
$custom: #31b475;
$custom-light: #7bcb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b475",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 117
  },
  "hsl": {
    "h": 151.145,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68479,
    "c": 0.14574,
    "h": 157.3
  },
  "luminance": 0.3458
}

Semantic roles & 50–950 ramp

primary
#31B475
secondary
#C67B9F
accent
#4791E0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B475

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

Preview Lab → · Contrast checker → · Palette generator →

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