#31B287#31B287

#31B287 is a light, vivid teal. Relative luminance 0.342; OKLCH L 68.4% C 0.128 H 165.9°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#31B287
RGBrgb(49, 178, 135)
HSLhsl(160, 57%, 45%)
HSVhsv(160, 72%, 70%)
CMYKcmyk(72.5%, 0%, 24.2%, 30.2%)
CIE-LABlab(65.15, -44.87, 12.15)
CIE-LCHlch(65.15, 46.49, 164.85°)
OKLaboklab(68.38% -0.1239 0.0311)
OKLCHoklch(68.38% 0.128 165.9)
XYZxyz(21.5578, 34.2405, 28.3899)
Luminance0.3424 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B287 #B2315C
analogous
#31B247 #31B287 #319DB2
triadic
#31B287 #8731B2 #B28731
tetradic
#31B287 #4731B2 #B2315C #9DB231
square
#31B287 #4731B2 #B2315C #9DB231
split-complementary
#31B287 #B2319D #B24731
monochromatic
#17523E #248263 #31B287 #51CFA5 #81DCBE

Accessibility & contrast

On white

2.68
#31B287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#31B287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B287
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B287#FFFFFF#000000##000000
##31B2871.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA585
Deuteranopia (green-blind)
#9D998A
Tritanopia (blue-blind)
#00B2A6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b287;
/* rgb */ color: rgb(49, 178, 135);
/* oklch */ color: oklch(68.4% 0.128 165.9);
Tailwind
colors: {
  custom: {
    50: '#7bcaaa',
    500: '#31b287',
    950: '#000000',
  },
}
SCSS
$custom: #31b287;
$custom-light: #7bcaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#31b287",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 135
  },
  "hsl": {
    "h": 160,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68382,
    "c": 0.1277,
    "h": 165.9
  },
  "luminance": 0.34243
}

Semantic roles & 50–950 ramp

primary
#31B287
secondary
#C57993
accent
#487BE0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B287

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

Preview Lab → · Contrast checker → · Palette generator →

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