#31CF7A#31CF7A

#31CF7A is a light, vivid green. Relative luminance 0.467; OKLCH L 75.6% C 0.176 H 154.0°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#31CF7A
RGBrgb(49, 207, 122)
HSLhsl(148, 62%, 50%)
HSVhsv(148, 76%, 81%)
CMYKcmyk(76.3%, 0%, 41.1%, 18.8%)
CIE-LABlab(73.98, -58.82, 31.08)
CIE-LCHlch(73.98, 66.53, 152.15°)
OKLaboklab(75.57% -0.1584 0.0772)
OKLCHoklch(75.57% 0.176 154)
XYZxyz(27.0898, 46.6805, 25.9911)
Luminance0.4668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31CF7A #CF3186
analogous
#37CF31 #31CF7A #31CFC9
triadic
#31CF7A #7A31CF #CF7A31
tetradic
#31CF7A #3137CF #CF3186 #CFC931
square
#31CF7A #3137CF #CF3186 #CFC931
split-complementary
#31CF7A #C931CF #CF3137
monochromatic
#196C40 #259E5D #31CF7A #63DB9A #94E6BA

Accessibility & contrast

On white

2.03
#31CF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#31CF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31CF7A
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31CF7A#FFFFFF#000000##000000
##31CF7A1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBE74
Deuteranopia (green-blind)
#BCB180
Tritanopia (blue-blind)
#00CCBA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #31cf7a;
/* rgb */ color: rgb(49, 207, 122);
/* oklch */ color: oklch(75.6% 0.176 154.0);
Tailwind
colors: {
  custom: {
    50: '#81dfa1',
    500: '#31cf7a',
    950: '#000000',
  },
}
SCSS
$custom: #31cf7a;
$custom-light: #81dfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#31cf7a",
  "rgb": {
    "r": 49,
    "g": 207,
    "b": 122
  },
  "hsl": {
    "h": 147.722,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75573,
    "c": 0.17618,
    "h": 154
  },
  "luminance": 0.46684
}

Semantic roles & 50–950 ramp

primary
#31CF7A
secondary
#D18BB1
accent
#439AE5
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #31CF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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