#31B286#31B286

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

Color values

HEX#31B286
RGBrgb(49, 178, 134)
HSLhsl(160, 57%, 45%)
HSVhsv(160, 72%, 70%)
CMYKcmyk(72.5%, 0%, 24.7%, 30.2%)
CIE-LABlab(65.13, -45.11, 12.67)
CIE-LCHlch(65.13, 46.85, 164.32°)
OKLaboklab(68.36% -0.1243 0.0324)
OKLCHoklch(68.36% 0.128 165.4)
XYZxyz(21.4877, 34.2125, 28.0208)
Luminance0.3422 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B286 #B2315D
analogous
#31B246 #31B286 #319EB2
triadic
#31B286 #8631B2 #B28631
tetradic
#31B286 #4631B2 #B2315D #9EB231
square
#31B286 #4631B2 #B2315D #9EB231
split-complementary
#31B286 #B2319E #B24631
monochromatic
#17523E #248262 #31B286 #51CFA4 #81DCBD

Accessibility & contrast

On white

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

On black

7.84
#31B286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B286
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B286#FFFFFF#000000##000000
##31B2861.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b286;
/* rgb */ color: rgb(49, 178, 134);
/* oklch */ color: oklch(68.4% 0.128 165.4);
Tailwind
colors: {
  custom: {
    50: '#7bcaa9',
    500: '#31b286',
    950: '#000000',
  },
}
SCSS
$custom: #31b286;
$custom-light: #7bcaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#31b286",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 134
  },
  "hsl": {
    "h": 159.535,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68357,
    "c": 0.12849,
    "h": 165.4
  },
  "luminance": 0.34215
}

Semantic roles & 50–950 ramp

primary
#31B286
secondary
#C57993
accent
#487CE0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B286

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

Preview Lab → · Contrast checker → · Palette generator →

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