#31B792#31B792

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

Color values

HEX#31B792
RGBrgb(49, 183, 146)
HSLhsl(163, 58%, 45%)
HSVhsv(163, 73%, 72%)
CMYKcmyk(73.2%, 0%, 20.2%, 28.2%)
CIE-LABlab(66.97, -44.32, 8.68)
CIE-LCHlch(66.97, 45.16, 168.92°)
OKLaboklab(69.96% -0.1237 0.0222)
OKLCHoklch(69.96% 0.126 169.8)
XYZxyz(23.3857, 36.5925, 33.0191)
Luminance0.3659 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B792 #B73156
analogous
#31B74F #31B792 #3199B7
triadic
#31B792 #9231B7 #B79231
tetradic
#31B792 #4F31B7 #B73156 #99B731
square
#31B792 #4F31B7 #B73156 #99B731
split-complementary
#31B792 #B73199 #B74F31
monochromatic
#175645 #24876B #31B792 #54D1AF #84DEC5

Accessibility & contrast

On white

2.52
#31B792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#31B792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B792
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B792#FFFFFF#000000##000000
##31B7921.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b792;
/* rgb */ color: rgb(49, 183, 146);
/* oklch */ color: oklch(70.0% 0.126 169.8);
Tailwind
colors: {
  custom: {
    50: '#7dcdb2',
    500: '#31b792',
    950: '#000000',
  },
}
SCSS
$custom: #31b792;
$custom-light: #7dcdb2;
$custom-dark: #000000;
JSON
{
  "hex": "#31b792",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 146
  },
  "hsl": {
    "h": 163.433,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69955,
    "c": 0.12564,
    "h": 169.8
  },
  "luminance": 0.36595
}

Semantic roles & 50–950 ramp

primary
#31B792
secondary
#C87C91
accent
#4771E1
background
#F8FCFA
surface
#EFF9F5
border
#CAD2CF
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B792

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

Preview Lab → · Contrast checker → · Palette generator →

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