#31C980#31C980

#31C980 is a light, vivid teal. Relative luminance 0.440; OKLCH L 74.1% C 0.163 H 156.8°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#31C980
RGBrgb(49, 201, 128)
HSLhsl(151, 61%, 49%)
HSVhsv(151, 76%, 79%)
CMYKcmyk(75.6%, 0%, 36.3%, 21.2%)
CIE-LABlab(72.22, -55.47, 25.62)
CIE-LCHlch(72.22, 61.10, 155.21°)
OKLaboklab(74.15% -0.1499 0.0643)
OKLCHoklch(74.15% 0.163 156.8)
XYZxyz(26.0470, 43.9817, 27.5344)
Luminance0.4399 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C980 #C9317A
analogous
#31C934 #31C980 #31C6C9
triadic
#31C980 #8031C9 #C98031
tetradic
#31C980 #3431C9 #C9317A #C6C931
square
#31C980 #3431C9 #C9317A #C6C931
split-complementary
#31C980 #C931C6 #C93431
monochromatic
#196741 #259861 #31C980 #5FD89E #90E4BC

Accessibility & contrast

On white

2.14
#31C980 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#31C980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C980
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C980#FFFFFF#000000##000000
##31C9801.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B97B
Deuteranopia (green-blind)
#B5AC85
Tritanopia (blue-blind)
#00C7B6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #31c980;
/* rgb */ color: rgb(49, 201, 128);
/* oklch */ color: oklch(74.1% 0.163 156.8);
Tailwind
colors: {
  custom: {
    50: '#80daa5',
    500: '#31c980',
    950: '#000000',
  },
}
SCSS
$custom: #31c980;
$custom-light: #80daa5;
$custom-dark: #000000;
JSON
{
  "hex": "#31c980",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 128
  },
  "hsl": {
    "h": 151.184,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74146,
    "c": 0.16315,
    "h": 156.8
  },
  "luminance": 0.43985
}

Semantic roles & 50–950 ramp

primary
#31C980
secondary
#CF87A9
accent
#4491E4
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #31C980

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

Preview Lab → · Contrast checker → · Palette generator →

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