#31B791#31B791

#31B791 is a light, vivid teal. Relative luminance 0.366; OKLCH L 69.9% C 0.126 H 169.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#31B791
RGBrgb(49, 183, 145)
HSLhsl(163, 58%, 45%)
HSVhsv(163, 73%, 72%)
CMYKcmyk(73.2%, 0%, 20.8%, 28.2%)
CIE-LABlab(66.95, -44.57, 9.20)
CIE-LCHlch(66.95, 45.51, 168.34°)
OKLaboklab(69.93% -0.1241 0.0235)
OKLCHoklch(69.93% 0.126 169.3)
XYZxyz(23.3082, 36.5615, 32.6112)
Luminance0.3656 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B791 #B73157
analogous
#31B74E #31B791 #319AB7
triadic
#31B791 #9131B7 #B79131
tetradic
#31B791 #4E31B7 #B73157 #9AB731
square
#31B791 #4E31B7 #B73157 #9AB731
split-complementary
#31B791 #B7319A #B74E31
monochromatic
#175644 #24876B #31B791 #54D1AE #84DEC5

Accessibility & contrast

On white

2.53
#31B791 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#31B791 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B791
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B791#FFFFFF#000000##000000
##31B7911.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2AA8F
Deuteranopia (green-blind)
#A19E94
Tritanopia (blue-blind)
#00B8AC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b791;
/* rgb */ color: rgb(49, 183, 145);
/* oklch */ color: oklch(69.9% 0.126 169.3);
Tailwind
colors: {
  custom: {
    50: '#7dcdb1',
    500: '#31b791',
    950: '#000000',
  },
}
SCSS
$custom: #31b791;
$custom-light: #7dcdb1;
$custom-dark: #000000;
JSON
{
  "hex": "#31b791",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 145
  },
  "hsl": {
    "h": 162.985,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69928,
    "c": 0.12635,
    "h": 169.3
  },
  "luminance": 0.36564
}

Semantic roles & 50–950 ramp

primary
#31B791
secondary
#C87C92
accent
#4773E1
background
#F8FCFA
surface
#EFF9F5
border
#CAD2CF
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B791

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

Preview Lab → · Contrast checker → · Palette generator →

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