#31CF7F#31CF7F

#31CF7F is a light, vivid green. Relative luminance 0.468; OKLCH L 75.7% C 0.172 H 155.4°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#31CF7F
RGBrgb(49, 207, 127)
HSLhsl(150, 62%, 50%)
HSVhsv(150, 76%, 81%)
CMYKcmyk(76.3%, 0%, 38.6%, 18.8%)
CIE-LABlab(74.07, -57.89, 28.61)
CIE-LCHlch(74.07, 64.57, 153.70°)
OKLaboklab(75.67% -0.1561 0.0714)
OKLCHoklch(75.67% 0.172 155.4)
XYZxyz(27.4076, 46.8076, 27.6649)
Luminance0.4681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31CF7F #CF3181
analogous
#32CF31 #31CF7F #31CFCE
triadic
#31CF7F #7F31CF #CF7F31
tetradic
#31CF7F #3132CF #CF3181 #CFCE31
square
#31CF7F #3132CF #CF3181 #CFCE31
split-complementary
#31CF7F #CE31CF #CF3132
monochromatic
#196C42 #259E61 #31CF7F #63DB9E #94E6BD

Accessibility & contrast

On white

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

On black

10.36
#31CF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31CF7F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31CF7F#FFFFFF#000000##000000
##31CF7F1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBE7A
Deuteranopia (green-blind)
#BCB184
Tritanopia (blue-blind)
#00CDBB
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #31cf7f;
/* rgb */ color: rgb(49, 207, 127);
/* oklch */ color: oklch(75.7% 0.172 155.4);
Tailwind
colors: {
  custom: {
    50: '#81dfa5',
    500: '#31cf7f',
    950: '#000000',
  },
}
SCSS
$custom: #31cf7f;
$custom-light: #81dfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#31cf7f",
  "rgb": {
    "r": 49,
    "g": 207,
    "b": 127
  },
  "hsl": {
    "h": 149.62,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75667,
    "c": 0.17169,
    "h": 155.4
  },
  "luminance": 0.46811
}

Semantic roles & 50–950 ramp

primary
#31CF7F
secondary
#D18BAE
accent
#4395E5
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #31CF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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