#31B790#31B790

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

Color values

HEX#31B790
RGBrgb(49, 183, 144)
HSLhsl(163, 58%, 45%)
HSVhsv(163, 73%, 72%)
CMYKcmyk(73.2%, 0%, 21.3%, 28.2%)
CIE-LABlab(66.92, -44.81, 9.71)
CIE-LCHlch(66.92, 45.85, 167.77°)
OKLaboklab(69.9% -0.1246 0.0248)
OKLCHoklch(69.9% 0.127 168.7)
XYZxyz(23.2314, 36.5308, 32.2069)
Luminance0.3653 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B790 #B73158
analogous
#31B74D #31B790 #319BB7
triadic
#31B790 #9031B7 #B79031
tetradic
#31B790 #4D31B7 #B73158 #9BB731
square
#31B790 #4D31B7 #B73158 #9BB731
split-complementary
#31B790 #B7319B #B74D31
monochromatic
#175644 #24876A #31B790 #54D1AD #84DEC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B790#FFFFFF#000000##000000
##31B7901.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)
#B2AA8E
Deuteranopia (green-blind)
#A19E93
Tritanopia (blue-blind)
#00B8AC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b790;
/* rgb */ color: rgb(49, 183, 144);
/* oklch */ color: oklch(69.9% 0.127 168.7);
Tailwind
colors: {
  custom: {
    50: '#7dcdb0',
    500: '#31b790',
    950: '#000000',
  },
}
SCSS
$custom: #31b790;
$custom-light: #7dcdb0;
$custom-dark: #000000;
JSON
{
  "hex": "#31b790",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 144
  },
  "hsl": {
    "h": 162.537,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69901,
    "c": 0.12708,
    "h": 168.7
  },
  "luminance": 0.36534
}

Semantic roles & 50–950 ramp

primary
#31B790
secondary
#C87C92
accent
#4774E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1410
muted
#7C827F

Preview Lab

Preview with #31B790

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

Preview Lab → · Contrast checker → · Palette generator →

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