#31A487#31A487

#31A487 is a light, moderate teal. Relative luminance 0.290; OKLCH L 64.8% C 0.110 H 172.2°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#31A487
RGBrgb(49, 164, 135)
HSLhsl(165, 54%, 42%)
HSVhsv(165, 70%, 64%)
CMYKcmyk(70.1%, 0%, 17.7%, 35.7%)
CIE-LABlab(60.74, -38.86, 5.87)
CIE-LCHlch(60.74, 39.30, 171.41°)
OKLaboklab(64.77% -0.1094 0.0149)
OKLCHoklch(64.77% 0.11 172.2)
XYZxyz(18.9130, 28.9510, 27.5083)
Luminance0.2895 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A487 #A4314E
analogous
#31A44E #31A487 #3188A4
triadic
#31A487 #8731A4 #A48731
tetradic
#31A487 #4E31A4 #A4314E #88A431
square
#31A487 #4E31A4 #A4314E #88A431
split-complementary
#31A487 #A43188 #A44E31
monochromatic
#154639 #237560 #31A487 #49C9A9 #79D7BF

Accessibility & contrast

On white

3.09
#31A487 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#31A487 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A487
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A487#FFFFFF#000000##000000
##31A4871.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9986
Deuteranopia (green-blind)
#8F8E89
Tritanopia (blue-blind)
#00A69C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a487;
/* rgb */ color: rgb(49, 164, 135);
/* oklch */ color: oklch(64.8% 0.110 172.2);
Tailwind
colors: {
  custom: {
    50: '#79c0aa',
    500: '#31a487',
    950: '#000000',
  },
}
SCSS
$custom: #31a487;
$custom-light: #79c0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#31a487",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 135
  },
  "hsl": {
    "h": 164.87,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64767,
    "c": 0.1104,
    "h": 172.2
  },
  "luminance": 0.28953
}

Semantic roles & 50–950 ramp

primary
#31A487
secondary
#BF7285
accent
#4A6FDD
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #31A487

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

Preview Lab → · Contrast checker → · Palette generator →

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