#31A477#31A477

#31A477 is a light, vivid teal. Relative luminance 0.285; OKLCH L 64.3% C 0.123 H 162.7°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#31A477
RGBrgb(49, 164, 119)
HSLhsl(157, 54%, 42%)
HSVhsv(157, 70%, 64%)
CMYKcmyk(70.1%, 0%, 27.4%, 35.7%)
CIE-LABlab(60.37, -42.73, 14.28)
CIE-LCHlch(60.37, 45.06, 161.52°)
OKLaboklab(64.34% -0.1172 0.0364)
OKLCHoklch(64.34% 0.123 162.7)
XYZxyz(17.8700, 28.5338, 22.0150)
Luminance0.2854 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A477 #A4315E
analogous
#31A43E #31A477 #3198A4
triadic
#31A477 #7731A4 #A47731
tetradic
#31A477 #3E31A4 #A4315E #98A431
square
#31A477 #3E31A4 #A4315E #98A431
split-complementary
#31A477 #A43198 #A43E31
monochromatic
#154633 #237555 #31A477 #49C997 #79D7B2

Accessibility & contrast

On white

3.13
#31A477 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#31A477 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A477
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A477#FFFFFF#000000##000000
##31A4771.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19874
Deuteranopia (green-blind)
#928D7A
Tritanopia (blue-blind)
#00A498
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a477;
/* rgb */ color: rgb(49, 164, 119);
/* oklch */ color: oklch(64.3% 0.123 162.7);
Tailwind
colors: {
  custom: {
    50: '#78c09e',
    500: '#31a477',
    950: '#000000',
  },
}
SCSS
$custom: #31a477;
$custom-light: #78c09e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a477",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 119
  },
  "hsl": {
    "h": 156.522,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64341,
    "c": 0.12268,
    "h": 162.7
  },
  "luminance": 0.28536
}

Semantic roles & 50–950 ramp

primary
#31A477
secondary
#BF7290
accent
#4A84DD
background
#F7FBF9
surface
#EEF7F2
border
#C9D0CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #31A477

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

Preview Lab → · Contrast checker → · Palette generator →

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