#31B793#31B793

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

Color values

HEX#31B793
RGBrgb(49, 183, 147)
HSLhsl(164, 58%, 45%)
HSVhsv(164, 73%, 72%)
CMYKcmyk(73.2%, 0%, 19.7%, 28.2%)
CIE-LABlab(66.99, -44.07, 8.17)
CIE-LCHlch(66.99, 44.82, 169.50°)
OKLaboklab(69.98% -0.1232 0.0208)
OKLCHoklch(69.98% 0.125 170.4)
XYZxyz(23.4638, 36.6238, 33.4306)
Luminance0.3663 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B793 #B73155
analogous
#31B750 #31B793 #3198B7
triadic
#31B793 #9331B7 #B79331
tetradic
#31B793 #5031B7 #B73155 #98B731
square
#31B793 #5031B7 #B73155 #98B731
split-complementary
#31B793 #B73198 #B75031
monochromatic
#175645 #24876C #31B793 #54D1B0 #84DEC6

Accessibility & contrast

On white

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

On black

8.33
#31B793 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B793
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B793#FFFFFF#000000##000000
##31B7931.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b793;
/* rgb */ color: rgb(49, 183, 147);
/* oklch */ color: oklch(70.0% 0.125 170.4);
Tailwind
colors: {
  custom: {
    50: '#7dcdb2',
    500: '#31b793',
    950: '#000000',
  },
}
SCSS
$custom: #31b793;
$custom-light: #7dcdb2;
$custom-dark: #000000;
JSON
{
  "hex": "#31b793",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 147
  },
  "hsl": {
    "h": 163.881,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69982,
    "c": 0.12495,
    "h": 170.4
  },
  "luminance": 0.36627
}

Semantic roles & 50–950 ramp

primary
#31B793
secondary
#C87C90
accent
#4770E1
background
#F8FCFA
surface
#EFF9F5
border
#CAD2CF
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B793

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

Preview Lab → · Contrast checker → · Palette generator →

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