#31B397#31B397

#31B397 is a light, moderate teal. Relative luminance 0.351; OKLCH L 69.1% C 0.118 H 174.7°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#31B397
RGBrgb(49, 179, 151)
HSLhsl(167, 57%, 45%)
HSVhsv(167, 73%, 70%)
CMYKcmyk(72.6%, 0%, 15.6%, 29.8%)
CIE-LABlab(65.85, -41.34, 4.32)
CIE-LCHlch(65.85, 41.57, 174.04°)
OKLaboklab(69.08% -0.1172 0.0108)
OKLCHoklch(69.08% 0.118 174.7)
XYZxyz(22.9698, 35.1248, 34.8413)
Luminance0.3513 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B397 #B3314D
analogous
#31B356 #31B397 #318EB3
triadic
#31B397 #9731B3 #B39731
tetradic
#31B397 #5631B3 #B3314D #8EB331
square
#31B397 #5631B3 #B3314D #8EB331
split-complementary
#31B397 #B3318E #B35631
monochromatic
#175346 #24836E #31B397 #52D0B4 #82DDC9

Accessibility & contrast

On white

2.62
#31B397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#31B397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B397
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B397#FFFFFF#000000##000000
##31B3971.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA796
Deuteranopia (green-blind)
#9B9B99
Tritanopia (blue-blind)
#00B5AB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b397;
/* rgb */ color: rgb(49, 179, 151);
/* oklch */ color: oklch(69.1% 0.118 174.7);
Tailwind
colors: {
  custom: {
    50: '#7ccab5',
    500: '#31b397',
    950: '#000000',
  },
}
SCSS
$custom: #31b397;
$custom-light: #7ccab5;
$custom-dark: #000000;
JSON
{
  "hex": "#31b397",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 151
  },
  "hsl": {
    "h": 167.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69075,
    "c": 0.11774,
    "h": 174.7
  },
  "luminance": 0.35128
}

Semantic roles & 50–950 ramp

primary
#31B397
secondary
#C67A8A
accent
#4868E0
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B397

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

Preview Lab → · Contrast checker → · Palette generator →

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