#31B487#31B487

#31B487 is a light, vivid teal. Relative luminance 0.350; OKLCH L 68.9% C 0.130 H 165.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#31B487
RGBrgb(49, 180, 135)
HSLhsl(159, 57%, 45%)
HSVhsv(159, 73%, 71%)
CMYKcmyk(72.8%, 0%, 25%, 29.4%)
CIE-LABlab(65.78, -45.70, 13.03)
CIE-LCHlch(65.78, 47.53, 164.09°)
OKLaboklab(68.9% -0.1259 0.0333)
OKLCHoklch(68.9% 0.13 165.2)
XYZxyz(21.9586, 35.0422, 28.5235)
Luminance0.3504 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B487 #B4315E
analogous
#31B445 #31B487 #31A0B4
triadic
#31B487 #8731B4 #B48731
tetradic
#31B487 #4531B4 #B4315E #A0B431
square
#31B487 #4531B4 #B4315E #A0B431
split-complementary
#31B487 #B431A0 #B44531
monochromatic
#17543F #248463 #31B487 #52D0A5 #82DDBE

Accessibility & contrast

On white

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

On black

8.01
#31B487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B487
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B487#FFFFFF#000000##000000
##31B4871.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A785
Deuteranopia (green-blind)
#9F9B8A
Tritanopia (blue-blind)
#00B4A8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b487;
/* rgb */ color: rgb(49, 180, 135);
/* oklch */ color: oklch(68.9% 0.130 165.2);
Tailwind
colors: {
  custom: {
    50: '#7ccbaa',
    500: '#31b487',
    950: '#000000',
  },
}
SCSS
$custom: #31b487;
$custom-light: #7ccbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#31b487",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 135
  },
  "hsl": {
    "h": 159.389,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68898,
    "c": 0.13023,
    "h": 165.2
  },
  "luminance": 0.35045
}

Semantic roles & 50–950 ramp

primary
#31B487
secondary
#C67B95
accent
#477CE0
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B487

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

Preview Lab → · Contrast checker → · Palette generator →

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