#31B282#31B282

#31B282 is a light, vivid teal. Relative luminance 0.341; OKLCH L 68.3% C 0.132 H 163.4°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#31B282
RGBrgb(49, 178, 130)
HSLhsl(158, 57%, 45%)
HSVhsv(158, 72%, 70%)
CMYKcmyk(72.5%, 0%, 27%, 30.2%)
CIE-LABlab(65.04, -46.03, 14.74)
CIE-LCHlch(65.04, 48.34, 162.25°)
OKLaboklab(68.26% -0.1263 0.0376)
OKLCHoklch(68.26% 0.132 163.4)
XYZxyz(21.2140, 34.1030, 26.5793)
Luminance0.3411 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B282 #B23161
analogous
#31B241 #31B282 #31A2B2
triadic
#31B282 #8231B2 #B28231
tetradic
#31B282 #4131B2 #B23161 #A2B231
square
#31B282 #4131B2 #B23161 #A2B231
split-complementary
#31B282 #B231A2 #B24131
monochromatic
#17523C #24825F #31B282 #51CFA0 #81DCBA

Accessibility & contrast

On white

2.69
#31B282 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#31B282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B282
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B282#FFFFFF#000000##000000
##31B2821.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA57F
Deuteranopia (green-blind)
#9E9985
Tritanopia (blue-blind)
#00B2A5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b282;
/* rgb */ color: rgb(49, 178, 130);
/* oklch */ color: oklch(68.3% 0.132 163.4);
Tailwind
colors: {
  custom: {
    50: '#7bcaa6',
    500: '#31b282',
    950: '#000000',
  },
}
SCSS
$custom: #31b282;
$custom-light: #7bcaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#31b282",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 130
  },
  "hsl": {
    "h": 157.674,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68257,
    "c": 0.13174,
    "h": 163.4
  },
  "luminance": 0.34105
}

Semantic roles & 50–950 ramp

primary
#31B282
secondary
#C57996
accent
#4880E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B282

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

Preview Lab → · Contrast checker → · Palette generator →

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