#31C381#31C381

#31C381 is a light, vivid teal. Relative luminance 0.413; OKLCH L 72.6% C 0.155 H 158.4°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#31C381
RGBrgb(49, 195, 129)
HSLhsl(153, 60%, 48%)
HSVhsv(153, 75%, 76%)
CMYKcmyk(74.9%, 0%, 33.8%, 23.5%)
CIE-LABlab(70.36, -52.99, 22.59)
CIE-LCHlch(70.36, 57.61, 156.91°)
OKLaboklab(72.62% -0.1437 0.057)
OKLCHoklch(72.62% 0.155 158.4)
XYZxyz(24.7417, 41.2652, 27.4256)
Luminance0.4127 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C381 #C33173
analogous
#31C338 #31C381 #31BCC3
triadic
#31C381 #8131C3 #C38131
tetradic
#31C381 #3831C3 #C33173 #BCC331
square
#31C381 #3831C3 #C33173 #BCC331
split-complementary
#31C381 #C331BC #C33831
monochromatic
#186140 #259261 #31C381 #5BD69E #8CE2BB

Accessibility & contrast

On white

2.27
#31C381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#31C381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C381
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C381#FFFFFF#000000##000000
##31C3811.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B47D
Deuteranopia (green-blind)
#AFA785
Tritanopia (blue-blind)
#00C2B2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #31c381;
/* rgb */ color: rgb(49, 195, 129);
/* oklch */ color: oklch(72.6% 0.155 158.4);
Tailwind
colors: {
  custom: {
    50: '#7fd6a6',
    500: '#31c381',
    950: '#000000',
  },
}
SCSS
$custom: #31c381;
$custom-light: #7fd6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#31c381",
  "rgb": {
    "r": 49,
    "g": 195,
    "b": 129
  },
  "hsl": {
    "h": 152.877,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72624,
    "c": 0.15456,
    "h": 158.4
  },
  "luminance": 0.41268
}

Semantic roles & 50–950 ramp

primary
#31C381
secondary
#CC83A4
accent
#458CE3
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0B140F
muted
#7C837F

Preview Lab

Preview with #31C381

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

Preview Lab → · Contrast checker → · Palette generator →

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