#31A398#31A398

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

Color values

HEX#31A398
RGBrgb(49, 163, 152)
HSLhsl(174, 54%, 42%)
HSVhsv(174, 70%, 64%)
CMYKcmyk(69.9%, 0%, 6.7%, 36.1%)
CIE-LABlab(60.88, -33.84, -3.48)
CIE-LCHlch(60.88, 34.02, 185.88°)
OKLaboklab(65.03% -0.1003 -0.01)
OKLCHoklch(65.03% 0.101 185.7)
XYZxyz(20.0286, 29.1120, 34.2633)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A398 #A3313C
analogous
#31A35F #31A398 #3175A3
triadic
#31A398 #9831A3 #A39831
tetradic
#31A398 #5F31A3 #A3313C #75A331
square
#31A398 #5F31A3 #A3313C #75A331
split-complementary
#31A398 #A33175 #A35F31
monochromatic
#154540 #23746C #31A398 #49C8BC #78D6CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A398#FFFFFF#000000##000000
##31A3981.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)
#9B9A98
Deuteranopia (green-blind)
#8A8E99
Tritanopia (blue-blind)
#00A79F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a398;
/* rgb */ color: rgb(49, 163, 152);
/* oklch */ color: oklch(65.0% 0.101 185.7);
Tailwind
colors: {
  custom: {
    50: '#7abfb6',
    500: '#31a398',
    950: '#000000',
  },
}
SCSS
$custom: #31a398;
$custom-light: #7abfb6;
$custom-dark: #000000;
JSON
{
  "hex": "#31a398",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 152
  },
  "hsl": {
    "h": 174.211,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65034,
    "c": 0.10077,
    "h": 185.7
  },
  "luminance": 0.29114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A398

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

Preview Lab → · Contrast checker → · Palette generator →

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