#31C782#31C782

#31C782 is a light, vivid teal. Relative luminance 0.431; OKLCH L 73.7% C 0.159 H 157.9°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#31C782
RGBrgb(49, 199, 130)
HSLhsl(152, 60%, 49%)
HSVhsv(152, 75%, 78%)
CMYKcmyk(75.4%, 0%, 34.7%, 22%)
CIE-LABlab(71.63, -54.32, 23.78)
CIE-LCHlch(71.63, 59.29, 156.36°)
OKLaboklab(73.67% -0.1471 0.0599)
OKLCHoklch(73.67% 0.159 157.9)
XYZxyz(25.7167, 43.1085, 28.0802)
Luminance0.4311 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C782 #C73176
analogous
#31C737 #31C782 #31C1C7
triadic
#31C782 #8231C7 #C78231
tetradic
#31C782 #3731C7 #C73176 #C1C731
square
#31C782 #3731C7 #C73176 #C1C731
split-complementary
#31C782 #C731C1 #C73731
monochromatic
#196542 #259662 #31C782 #5ED79F #8FE3BD

Accessibility & contrast

On white

2.18
#31C782 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#31C782 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C782
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C782#FFFFFF#000000##000000
##31C7821.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B77E
Deuteranopia (green-blind)
#B3AA87
Tritanopia (blue-blind)
#00C6B5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #31c782;
/* rgb */ color: rgb(49, 199, 130);
/* oklch */ color: oklch(73.7% 0.159 157.9);
Tailwind
colors: {
  custom: {
    50: '#7fd9a6',
    500: '#31c782',
    950: '#000000',
  },
}
SCSS
$custom: #31c782;
$custom-light: #7fd9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#31c782",
  "rgb": {
    "r": 49,
    "g": 199,
    "b": 130
  },
  "hsl": {
    "h": 152.4,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73674,
    "c": 0.15881,
    "h": 157.9
  },
  "luminance": 0.43112
}

Semantic roles & 50–950 ramp

primary
#31C782
secondary
#CE86A7
accent
#448EE4
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #31C782

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

Preview Lab → · Contrast checker → · Palette generator →

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