#31A480#31A480

#31A480 is a light, moderate teal. Relative luminance 0.288; OKLCH L 64.6% C 0.115 H 167.8°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#31A480
RGBrgb(49, 164, 128)
HSLhsl(161, 54%, 42%)
HSVhsv(161, 70%, 64%)
CMYKcmyk(70.1%, 0%, 22%, 35.7%)
CIE-LABlab(60.57, -40.61, 9.55)
CIE-LCHlch(60.57, 41.72, 166.76°)
OKLaboklab(64.57% -0.1128 0.0244)
OKLCHoklch(64.57% 0.115 167.8)
XYZxyz(18.4363, 28.7603, 24.9975)
Luminance0.2876 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A480 #A43155
analogous
#31A446 #31A480 #318FA4
triadic
#31A480 #8031A4 #A48031
tetradic
#31A480 #4631A4 #A43155 #8FA431
square
#31A480 #4631A4 #A43155 #8FA431
split-complementary
#31A480 #A4318F #A44631
monochromatic
#154636 #23755B #31A480 #49C9A1 #79D7B9

Accessibility & contrast

On white

3.11
#31A480 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#31A480 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A480
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A480#FFFFFF#000000##000000
##31A4801.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0997E
Deuteranopia (green-blind)
#918E82
Tritanopia (blue-blind)
#00A59A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a480;
/* rgb */ color: rgb(49, 164, 128);
/* oklch */ color: oklch(64.6% 0.115 167.8);
Tailwind
colors: {
  custom: {
    50: '#79c0a4',
    500: '#31a480',
    950: '#000000',
  },
}
SCSS
$custom: #31a480;
$custom-light: #79c0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31a480",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 128
  },
  "hsl": {
    "h": 161.217,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64573,
    "c": 0.1154,
    "h": 167.8
  },
  "luminance": 0.28762
}

Semantic roles & 50–950 ramp

primary
#31A480
secondary
#BF728A
accent
#4A78DD
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A480

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

Preview Lab → · Contrast checker → · Palette generator →

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