#31B57B#31B57B

#31B57B is a light, vivid teal. Relative luminance 0.351; OKLCH L 68.9% C 0.142 H 159.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#31B57B
RGBrgb(49, 181, 123)
HSLhsl(154, 57%, 45%)
HSVhsv(154, 73%, 71%)
CMYKcmyk(72.9%, 0%, 32%, 29%)
CIE-LABlab(65.85, -48.79, 19.65)
CIE-LCHlch(65.85, 52.60, 158.06°)
OKLaboklab(68.87% -0.1326 0.0497)
OKLCHoklch(68.87% 0.142 159.4)
XYZxyz(21.3635, 35.1283, 24.3896)
Luminance0.3513 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B57B #B5316B
analogous
#31B539 #31B57B #31ADB5
triadic
#31B57B #7B31B5 #B57B31
tetradic
#31B57B #3931B5 #B5316B #ADB531
square
#31B57B #3931B5 #B5316B #ADB531
split-complementary
#31B57B #B531AD #B53931
monochromatic
#17553A #24855A #31B57B #53D099 #83DDB6

Accessibility & contrast

On white

2.62
#31B57B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#31B57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B57B
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B57B#FFFFFF#000000##000000
##31B57B1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A777
Deuteranopia (green-blind)
#A39B7F
Tritanopia (blue-blind)
#00B4A6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b57b;
/* rgb */ color: rgb(49, 181, 123);
/* oklch */ color: oklch(68.9% 0.142 159.4);
Tailwind
colors: {
  custom: {
    50: '#7ccca1',
    500: '#31b57b',
    950: '#000000',
  },
}
SCSS
$custom: #31b57b;
$custom-light: #7ccca1;
$custom-dark: #000000;
JSON
{
  "hex": "#31b57b",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 123
  },
  "hsl": {
    "h": 153.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68871,
    "c": 0.14167,
    "h": 159.4
  },
  "luminance": 0.35131
}

Semantic roles & 50–950 ramp

primary
#31B57B
secondary
#C77B9C
accent
#478BE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130F
muted
#7C827E

Preview Lab

Preview with #31B57B

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

Preview Lab → · Contrast checker → · Palette generator →

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