#31CF7E#31CF7E

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

Color values

HEX#31CF7E
RGBrgb(49, 207, 126)
HSLhsl(149, 62%, 50%)
HSVhsv(149, 76%, 81%)
CMYKcmyk(76.3%, 0%, 39.1%, 18.8%)
CIE-LABlab(74.05, -58.08, 29.11)
CIE-LCHlch(74.05, 64.96, 153.38°)
OKLaboklab(75.65% -0.1566 0.0726)
OKLCHoklch(75.65% 0.173 155.1)
XYZxyz(27.3427, 46.7817, 27.3233)
Luminance0.4678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31CF7E #CF3182
analogous
#33CF31 #31CF7E #31CFCD
triadic
#31CF7E #7E31CF #CF7E31
tetradic
#31CF7E #3133CF #CF3182 #CFCD31
square
#31CF7E #3133CF #CF3182 #CFCD31
split-complementary
#31CF7E #CD31CF #CF3133
monochromatic
#196C42 #259E60 #31CF7E #63DB9D #94E6BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31CF7E#FFFFFF#000000##000000
##31CF7E1.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)
#CEBE78
Deuteranopia (green-blind)
#BCB183
Tritanopia (blue-blind)
#00CDBB
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #31cf7e;
/* rgb */ color: rgb(49, 207, 126);
/* oklch */ color: oklch(75.6% 0.173 155.1);
Tailwind
colors: {
  custom: {
    50: '#81dfa4',
    500: '#31cf7e',
    950: '#000000',
  },
}
SCSS
$custom: #31cf7e;
$custom-light: #81dfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#31cf7e",
  "rgb": {
    "r": 49,
    "g": 207,
    "b": 126
  },
  "hsl": {
    "h": 149.241,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75648,
    "c": 0.17259,
    "h": 155.1
  },
  "luminance": 0.46785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31CF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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