#31B781#31B781

#31B781 is a light, vivid teal. Relative luminance 0.361; OKLCH L 69.5% C 0.139 H 161.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#31B781
RGBrgb(49, 183, 129)
HSLhsl(156, 58%, 45%)
HSVhsv(156, 73%, 72%)
CMYKcmyk(73.2%, 0%, 29.5%, 28.2%)
CIE-LABlab(66.60, -48.29, 17.44)
CIE-LCHlch(66.60, 51.34, 160.14°)
OKLaboklab(69.53% -0.1318 0.0443)
OKLCHoklch(69.53% 0.139 161.4)
XYZxyz(22.1602, 36.1023, 26.5652)
Luminance0.3610 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B781 #B73167
analogous
#31B73E #31B781 #31AAB7
triadic
#31B781 #8131B7 #B78131
tetradic
#31B781 #3E31B7 #B73167 #AAB731
square
#31B781 #3E31B7 #B73167 #AAB731
split-complementary
#31B781 #B731AA #B73E31
monochromatic
#17563D #24875F #31B781 #54D19F #84DEBA

Accessibility & contrast

On white

2.55
#31B781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#31B781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B781
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B781#FFFFFF#000000##000000
##31B7811.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A97E
Deuteranopia (green-blind)
#A49D85
Tritanopia (blue-blind)
#00B7A9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b781;
/* rgb */ color: rgb(49, 183, 129);
/* oklch */ color: oklch(69.5% 0.139 161.4);
Tailwind
colors: {
  custom: {
    50: '#7ccda5',
    500: '#31b781',
    950: '#000000',
  },
}
SCSS
$custom: #31b781;
$custom-light: #7ccda5;
$custom-dark: #000000;
JSON
{
  "hex": "#31b781",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 129
  },
  "hsl": {
    "h": 155.821,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69527,
    "c": 0.13904,
    "h": 161.4
  },
  "luminance": 0.36105
}

Semantic roles & 50–950 ramp

primary
#31B781
secondary
#C87C9B
accent
#4785E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B140F
muted
#7C827F

Preview Lab

Preview with #31B781

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

Preview Lab → · Contrast checker → · Palette generator →

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