#31B789#31B789

#31B789 is a light, vivid teal. Relative luminance 0.363; OKLCH L 69.7% C 0.132 H 165.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#31B789
RGBrgb(49, 183, 137)
HSLhsl(159, 58%, 45%)
HSVhsv(159, 73%, 72%)
CMYKcmyk(73.2%, 0%, 25.1%, 28.2%)
CIE-LABlab(66.77, -46.48, 13.32)
CIE-LCHlch(66.77, 48.35, 164.01°)
OKLaboklab(69.72% -0.128 0.034)
OKLCHoklch(69.72% 0.132 165.1)
XYZxyz(22.7129, 36.3234, 29.4761)
Luminance0.3633 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B789 #B7315F
analogous
#31B746 #31B789 #31A2B7
triadic
#31B789 #8931B7 #B78931
tetradic
#31B789 #4631B7 #B7315F #A2B731
square
#31B789 #4631B7 #B7315F #A2B731
split-complementary
#31B789 #B731A2 #B74631
monochromatic
#175641 #248765 #31B789 #54D1A6 #84DEBF

Accessibility & contrast

On white

2.54
#31B789 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#31B789 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B789
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B789#FFFFFF#000000##000000
##31B7891.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3AA86
Deuteranopia (green-blind)
#A29D8C
Tritanopia (blue-blind)
#00B7AA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b789;
/* rgb */ color: rgb(49, 183, 137);
/* oklch */ color: oklch(69.7% 0.132 165.1);
Tailwind
colors: {
  custom: {
    50: '#7ccdab',
    500: '#31b789',
    950: '#000000',
  },
}
SCSS
$custom: #31b789;
$custom-light: #7ccdab;
$custom-dark: #000000;
JSON
{
  "hex": "#31b789",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 137
  },
  "hsl": {
    "h": 159.403,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6972,
    "c": 0.13241,
    "h": 165.1
  },
  "luminance": 0.36326
}

Semantic roles & 50–950 ramp

primary
#31B789
secondary
#C87C96
accent
#477CE1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1410
muted
#7C827F

Preview Lab

Preview with #31B789

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

Preview Lab → · Contrast checker → · Palette generator →

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