#31A583#31A583

#31A583 is a light, moderate teal. Relative luminance 0.292; OKLCH L 64.9% C 0.114 H 169.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#31A583
RGBrgb(49, 165, 131)
HSLhsl(162, 54%, 42%)
HSVhsv(162, 70%, 65%)
CMYKcmyk(70.3%, 0%, 20.6%, 35.3%)
CIE-LABlab(60.96, -40.31, 8.43)
CIE-LCHlch(60.96, 41.18, 168.19°)
OKLaboklab(64.91% -0.1124 0.0215)
OKLCHoklch(64.91% 0.114 169.2)
XYZxyz(18.8163, 29.1998, 26.1128)
Luminance0.2920 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A583 #A53153
analogous
#31A549 #31A583 #318DA5
triadic
#31A583 #8331A5 #A58331
tetradic
#31A583 #4931A5 #A53153 #8DA531
square
#31A583 #4931A5 #A53153 #8DA531
split-complementary
#31A583 #A5318D #A54931
monochromatic
#154738 #23765E #31A583 #4AC9A4 #79D7BC

Accessibility & contrast

On white

3.07
#31A583 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#31A583 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A583
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A583#FFFFFF#000000##000000
##31A5831.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19A81
Deuteranopia (green-blind)
#918E85
Tritanopia (blue-blind)
#00A69B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a583;
/* rgb */ color: rgb(49, 165, 131);
/* oklch */ color: oklch(64.9% 0.114 169.2);
Tailwind
colors: {
  custom: {
    50: '#79c0a7',
    500: '#31a583',
    950: '#000000',
  },
}
SCSS
$custom: #31a583;
$custom-light: #79c0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#31a583",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 131
  },
  "hsl": {
    "h": 162.414,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64914,
    "c": 0.11442,
    "h": 169.2
  },
  "luminance": 0.29202
}

Semantic roles & 50–950 ramp

primary
#31A583
secondary
#C07289
accent
#4A75DE
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A583

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

Preview Lab → · Contrast checker → · Palette generator →

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