#31CF7D#31CF7D

#31CF7D is a light, vivid green. Relative luminance 0.468; OKLCH L 75.6% C 0.173 H 154.8°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#31CF7D
RGBrgb(49, 207, 125)
HSLhsl(149, 62%, 50%)
HSVhsv(149, 76%, 81%)
CMYKcmyk(76.3%, 0%, 39.6%, 18.8%)
CIE-LABlab(74.03, -58.27, 29.60)
CIE-LCHlch(74.03, 65.35, 153.07°)
OKLaboklab(75.63% -0.157 0.0737)
OKLCHoklch(75.63% 0.173 154.8)
XYZxyz(27.2785, 46.7560, 26.9852)
Luminance0.4676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31CF7D #CF3183
analogous
#34CF31 #31CF7D #31CFCC
triadic
#31CF7D #7D31CF #CF7D31
tetradic
#31CF7D #3134CF #CF3183 #CFCC31
square
#31CF7D #3134CF #CF3183 #CFCC31
split-complementary
#31CF7D #CC31CF #CF3134
monochromatic
#196C41 #259E5F #31CF7D #63DB9C #94E6BC

Accessibility & contrast

On white

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

On black

10.35
#31CF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31CF7D
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31CF7D#FFFFFF#000000##000000
##31CF7D1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBE77
Deuteranopia (green-blind)
#BCB183
Tritanopia (blue-blind)
#00CDBA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #31cf7d;
/* rgb */ color: rgb(49, 207, 125);
/* oklch */ color: oklch(75.6% 0.173 154.8);
Tailwind
colors: {
  custom: {
    50: '#81dfa3',
    500: '#31cf7d',
    950: '#000000',
  },
}
SCSS
$custom: #31cf7d;
$custom-light: #81dfa3;
$custom-dark: #000000;
JSON
{
  "hex": "#31cf7d",
  "rgb": {
    "r": 49,
    "g": 207,
    "b": 125
  },
  "hsl": {
    "h": 148.861,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75629,
    "c": 0.17348,
    "h": 154.8
  },
  "luminance": 0.46759
}

Semantic roles & 50–950 ramp

primary
#31CF7D
secondary
#D18BAF
accent
#4397E5
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #31CF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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