#31CF7C#31CF7C

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

Color values

HEX#31CF7C
RGBrgb(49, 207, 124)
HSLhsl(148, 62%, 50%)
HSVhsv(148, 76%, 81%)
CMYKcmyk(76.3%, 0%, 40.1%, 18.8%)
CIE-LABlab(74.02, -58.45, 30.10)
CIE-LCHlch(74.02, 65.74, 152.76°)
OKLaboklab(75.61% -0.1575 0.0749)
OKLCHoklch(75.61% 0.174 154.6)
XYZxyz(27.2150, 46.7306, 26.6505)
Luminance0.4673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31CF7C #CF3184
analogous
#35CF31 #31CF7C #31CFCB
triadic
#31CF7C #7C31CF #CF7C31
tetradic
#31CF7C #3135CF #CF3184 #CFCB31
square
#31CF7C #3135CF #CF3184 #CFCB31
split-complementary
#31CF7C #CB31CF #CF3135
monochromatic
#196C41 #259E5E #31CF7C #63DB9C #94E6BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31CF7C#FFFFFF#000000##000000
##31CF7C1.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)
#CEBE76
Deuteranopia (green-blind)
#BCB182
Tritanopia (blue-blind)
#00CDBA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #31cf7c;
/* rgb */ color: rgb(49, 207, 124);
/* oklch */ color: oklch(75.6% 0.174 154.6);
Tailwind
colors: {
  custom: {
    50: '#81dfa2',
    500: '#31cf7c',
    950: '#000000',
  },
}
SCSS
$custom: #31cf7c;
$custom-light: #81dfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#31cf7c",
  "rgb": {
    "r": 49,
    "g": 207,
    "b": 124
  },
  "hsl": {
    "h": 148.481,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7561,
    "c": 0.17438,
    "h": 154.6
  },
  "luminance": 0.46734
}

Semantic roles & 50–950 ramp

primary
#31CF7C
secondary
#D18BB0
accent
#4398E5
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #31CF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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