#31A397#31A397

#31A397 is a light, moderate teal. Relative luminance 0.291; OKLCH L 65.0% C 0.101 H 184.9°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#31A397
RGBrgb(49, 163, 151)
HSLhsl(174, 54%, 42%)
HSVhsv(174, 70%, 64%)
CMYKcmyk(69.9%, 0%, 7.4%, 36.1%)
CIE-LABlab(60.85, -34.12, -2.96)
CIE-LCHlch(60.85, 34.25, 184.96°)
OKLaboklab(65% -0.1008 -0.0085)
OKLCHoklch(65% 0.101 184.9)
XYZxyz(19.9471, 29.0794, 33.8338)
Luminance0.2908 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A397 #A3313D
analogous
#31A35E #31A397 #3176A3
triadic
#31A397 #9731A3 #A39731
tetradic
#31A397 #5E31A3 #A3313D #76A331
square
#31A397 #5E31A3 #A3313D #76A331
split-complementary
#31A397 #A33176 #A35E31
monochromatic
#154540 #23746B #31A397 #49C8BB #78D6CC

Accessibility & contrast

On white

3.08
#31A397 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#31A397 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A397
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A397#FFFFFF#000000##000000
##31A3971.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B9A97
Deuteranopia (green-blind)
#8A8E98
Tritanopia (blue-blind)
#00A79F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a397;
/* rgb */ color: rgb(49, 163, 151);
/* oklch */ color: oklch(65.0% 0.101 184.9);
Tailwind
colors: {
  custom: {
    50: '#7abfb5',
    500: '#31a397',
    950: '#000000',
  },
}
SCSS
$custom: #31a397;
$custom-light: #7abfb5;
$custom-dark: #000000;
JSON
{
  "hex": "#31a397",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 151
  },
  "hsl": {
    "h": 173.684,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65001,
    "c": 0.10111,
    "h": 184.9
  },
  "luminance": 0.29082
}

Semantic roles & 50–950 ramp

primary
#31A397
secondary
#BF7179
accent
#4B5ADD
background
#F8FBFB
surface
#EFF7F6
border
#CAD0D0
text
#0A1211
muted
#7C8180

Preview Lab

Preview with #31A397

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

Preview Lab → · Contrast checker → · Palette generator →

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