#31A792#31A792

#31A792 is a light, moderate teal. Relative luminance 0.304; OKLCH L 65.9% C 0.107 H 178.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#31A792
RGBrgb(49, 167, 146)
HSLhsl(169, 55%, 42%)
HSVhsv(169, 71%, 65%)
CMYKcmyk(70.7%, 0%, 12.6%, 34.5%)
CIE-LABlab(61.97, -37.33, 1.48)
CIE-LCHlch(61.97, 37.36, 177.73°)
OKLaboklab(65.86% -0.1073 0.0033)
OKLCHoklch(65.86% 0.107 178.2)
XYZxyz(20.2711, 30.3634, 31.9809)
Luminance0.3037 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A792 #A73146
analogous
#31A757 #31A792 #3181A7
triadic
#31A792 #9231A7 #A79231
tetradic
#31A792 #5731A7 #A73146 #81A731
square
#31A792 #5731A7 #A73146 #81A731
split-complementary
#31A792 #A73181 #A75731
monochromatic
#15483F #237869 #31A792 #4BCAB4 #7AD8C7

Accessibility & contrast

On white

2.97
#31A792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#31A792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A792
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A792#FFFFFF#000000##000000
##31A7921.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09D91
Deuteranopia (green-blind)
#909194
Tritanopia (blue-blind)
#00AAA1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a792;
/* rgb */ color: rgb(49, 167, 146);
/* oklch */ color: oklch(65.9% 0.107 178.2);
Tailwind
colors: {
  custom: {
    50: '#7ac2b1',
    500: '#31a792',
    950: '#000000',
  },
}
SCSS
$custom: #31a792;
$custom-light: #7ac2b1;
$custom-dark: #000000;
JSON
{
  "hex": "#31a792",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 146
  },
  "hsl": {
    "h": 169.322,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65864,
    "c": 0.10732,
    "h": 178.2
  },
  "luminance": 0.30366
}

Semantic roles & 50–950 ramp

primary
#31A792
secondary
#C17381
accent
#4A64DE
background
#F8FCFA
surface
#EFF8F5
border
#CAD1CF
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #31A792

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

Preview Lab → · Contrast checker → · Palette generator →

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