#31B47B#31B47B

#31B47B is a light, vivid teal. Relative luminance 0.347; OKLCH L 68.6% C 0.140 H 159.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#31B47B
RGBrgb(49, 180, 123)
HSLhsl(154, 57%, 45%)
HSVhsv(154, 73%, 71%)
CMYKcmyk(72.8%, 0%, 31.7%, 29.4%)
CIE-LABlab(65.53, -48.39, 19.22)
CIE-LCHlch(65.53, 52.07, 158.34°)
OKLaboklab(68.61% -0.1316 0.0487)
OKLCHoklch(68.61% 0.14 159.7)
XYZxyz(21.1609, 34.7231, 24.3220)
Luminance0.3473 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B47B #B4316A
analogous
#31B43A #31B47B #31ACB4
triadic
#31B47B #7B31B4 #B47B31
tetradic
#31B47B #3A31B4 #B4316A #ACB431
square
#31B47B #3A31B4 #B4316A #ACB431
split-complementary
#31B47B #B431AC #B43A31
monochromatic
#175439 #24845A #31B47B #52D099 #82DDB6

Accessibility & contrast

On white

2.64
#31B47B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#31B47B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B47B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B47B#FFFFFF#000000##000000
##31B47B1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A678
Deuteranopia (green-blind)
#A29A7F
Tritanopia (blue-blind)
#00B3A5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b47b;
/* rgb */ color: rgb(49, 180, 123);
/* oklch */ color: oklch(68.6% 0.140 159.7);
Tailwind
colors: {
  custom: {
    50: '#7ccba1',
    500: '#31b47b',
    950: '#000000',
  },
}
SCSS
$custom: #31b47b;
$custom-light: #7ccba1;
$custom-dark: #000000;
JSON
{
  "hex": "#31b47b",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 123
  },
  "hsl": {
    "h": 153.893,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68611,
    "c": 0.14035,
    "h": 159.7
  },
  "luminance": 0.34726
}

Semantic roles & 50–950 ramp

primary
#31B47B
secondary
#C67B9B
accent
#478AE0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130F
muted
#7C827E

Preview Lab

Preview with #31B47B

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

Preview Lab → · Contrast checker → · Palette generator →

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