#31C580#31C580

#31C580 is a light, vivid teal. Relative luminance 0.421; OKLCH L 73.1% C 0.158 H 157.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#31C580
RGBrgb(49, 197, 128)
HSLhsl(152, 60%, 48%)
HSVhsv(152, 75%, 77%)
CMYKcmyk(75.1%, 0%, 35%, 22.7%)
CIE-LABlab(70.97, -53.96, 23.94)
CIE-LCHlch(70.97, 59.04, 156.07°)
OKLaboklab(73.12% -0.1461 0.0602)
OKLCHoklch(73.12% 0.158 157.6)
XYZxyz(25.1266, 42.1410, 27.2277)
Luminance0.4214 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C580 #C53176
analogous
#31C536 #31C580 #31C0C5
triadic
#31C580 #8031C5 #C58031
tetradic
#31C580 #3631C5 #C53176 #C0C531
square
#31C580 #3631C5 #C53176 #C0C531
split-complementary
#31C580 #C531C0 #C53631
monochromatic
#196340 #259460 #31C580 #5DD79E #8EE3BB

Accessibility & contrast

On white

2.23
#31C580 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#31C580 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C580
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C580#FFFFFF#000000##000000
##31C5801.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B57C
Deuteranopia (green-blind)
#B2A985
Tritanopia (blue-blind)
#00C4B3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #31c580;
/* rgb */ color: rgb(49, 197, 128);
/* oklch */ color: oklch(73.1% 0.158 157.6);
Tailwind
colors: {
  custom: {
    50: '#7fd8a5',
    500: '#31c580',
    950: '#000000',
  },
}
SCSS
$custom: #31c580;
$custom-light: #7fd8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#31c580",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 128
  },
  "hsl": {
    "h": 152.027,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73117,
    "c": 0.15801,
    "h": 157.6
  },
  "luminance": 0.42144
}

Semantic roles & 50–950 ramp

primary
#31C580
secondary
#CD85A6
accent
#448FE3
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #31C580

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

Preview Lab → · Contrast checker → · Palette generator →

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