#31B280#31B280

#31B280 is a light, vivid teal. Relative luminance 0.341; OKLCH L 68.2% C 0.133 H 162.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#31B280
RGBrgb(49, 178, 128)
HSLhsl(157, 57%, 45%)
HSVhsv(157, 72%, 70%)
CMYKcmyk(72.5%, 0%, 28.1%, 30.2%)
CIE-LABlab(65.00, -46.49, 15.77)
CIE-LCHlch(65.00, 49.09, 161.26°)
OKLaboklab(68.21% -0.1272 0.0402)
OKLCHoklch(68.21% 0.133 162.5)
XYZxyz(21.0811, 34.0498, 25.8791)
Luminance0.3405 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B280 #B23163
analogous
#31B240 #31B280 #31A4B2
triadic
#31B280 #8031B2 #B28031
tetradic
#31B280 #4031B2 #B23163 #A4B231
square
#31B280 #4031B2 #B23163 #A4B231
split-complementary
#31B280 #B231A4 #B24031
monochromatic
#17523B #24825D #31B280 #51CF9E #81DCB9

Accessibility & contrast

On white

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

On black

7.81
#31B280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B280
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B280#FFFFFF#000000##000000
##31B2801.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA57D
Deuteranopia (green-blind)
#9F9983
Tritanopia (blue-blind)
#00B2A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b280;
/* rgb */ color: rgb(49, 178, 128);
/* oklch */ color: oklch(68.2% 0.133 162.5);
Tailwind
colors: {
  custom: {
    50: '#7bcaa5',
    500: '#31b280',
    950: '#000000',
  },
}
SCSS
$custom: #31b280;
$custom-light: #7bcaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#31b280",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 128
  },
  "hsl": {
    "h": 156.744,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68208,
    "c": 0.13342,
    "h": 162.5
  },
  "luminance": 0.34052
}

Semantic roles & 50–950 ramp

primary
#31B280
secondary
#C57997
accent
#4883E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B280

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

Preview Lab → · Contrast checker → · Palette generator →

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