#31A478#31A478

#31A478 is a light, vivid teal. Relative luminance 0.286; OKLCH L 64.4% C 0.122 H 163.3°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#31A478
RGBrgb(49, 164, 120)
HSLhsl(157, 54%, 42%)
HSVhsv(157, 70%, 64%)
CMYKcmyk(70.1%, 0%, 26.8%, 35.7%)
CIE-LABlab(60.39, -42.50, 13.76)
CIE-LCHlch(60.39, 44.67, 162.06°)
OKLaboklab(64.37% -0.1167 0.0351)
OKLCHoklch(64.37% 0.122 163.3)
XYZxyz(17.9304, 28.5579, 22.3329)
Luminance0.2856 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A478 #A4315D
analogous
#31A43E #31A478 #3197A4
triadic
#31A478 #7831A4 #A47831
tetradic
#31A478 #3E31A4 #A4315D #97A431
square
#31A478 #3E31A4 #A4315D #97A431
split-complementary
#31A478 #A43197 #A43E31
monochromatic
#154633 #237556 #31A478 #49C998 #79D7B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A478#FFFFFF#000000##000000
##31A4781.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)
#A19876
Deuteranopia (green-blind)
#928D7B
Tritanopia (blue-blind)
#00A498
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a478;
/* rgb */ color: rgb(49, 164, 120);
/* oklch */ color: oklch(64.4% 0.122 163.3);
Tailwind
colors: {
  custom: {
    50: '#78c09f',
    500: '#31a478',
    950: '#000000',
  },
}
SCSS
$custom: #31a478;
$custom-light: #78c09f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a478",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 120
  },
  "hsl": {
    "h": 157.043,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64366,
    "c": 0.12183,
    "h": 163.3
  },
  "luminance": 0.2856
}

Semantic roles & 50–950 ramp

primary
#31A478
secondary
#BF728F
accent
#4A83DD
background
#F7FBF9
surface
#EEF7F2
border
#C9D0CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #31A478

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

Preview Lab → · Contrast checker → · Palette generator →

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