#31C982#31C982

#31C982 is a light, vivid teal. Relative luminance 0.440; OKLCH L 74.2% C 0.161 H 157.4°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#31C982
RGBrgb(49, 201, 130)
HSLhsl(152, 61%, 49%)
HSVhsv(152, 76%, 79%)
CMYKcmyk(75.6%, 0%, 35.3%, 21.2%)
CIE-LABlab(72.25, -55.07, 24.62)
CIE-LCHlch(72.25, 60.33, 155.91°)
OKLaboklab(74.19% -0.149 0.0619)
OKLCHoklch(74.19% 0.161 157.4)
XYZxyz(26.1799, 44.0348, 28.2346)
Luminance0.4404 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C982 #C93178
analogous
#31C936 #31C982 #31C4C9
triadic
#31C982 #8231C9 #C98231
tetradic
#31C982 #3631C9 #C93178 #C4C931
square
#31C982 #3631C9 #C93178 #C4C931
split-complementary
#31C982 #C931C4 #C93631
monochromatic
#196742 #259862 #31C982 #5FD8A0 #90E4BD

Accessibility & contrast

On white

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

On black

9.81
#31C982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C982
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C982#FFFFFF#000000##000000
##31C9821.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B97D
Deuteranopia (green-blind)
#B5AC87
Tritanopia (blue-blind)
#00C7B7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #31c982;
/* rgb */ color: rgb(49, 201, 130);
/* oklch */ color: oklch(74.2% 0.161 157.4);
Tailwind
colors: {
  custom: {
    50: '#80daa6',
    500: '#31c982',
    950: '#000000',
  },
}
SCSS
$custom: #31c982;
$custom-light: #80daa6;
$custom-dark: #000000;
JSON
{
  "hex": "#31c982",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 130
  },
  "hsl": {
    "h": 151.974,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74187,
    "c": 0.16137,
    "h": 157.4
  },
  "luminance": 0.44038
}

Semantic roles & 50–950 ramp

primary
#31C982
secondary
#CF87A9
accent
#448FE4
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #31C982

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

Preview Lab → · Contrast checker → · Palette generator →

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