#31CF7B#31CF7B

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

Color values

HEX#31CF7B
RGBrgb(49, 207, 123)
HSLhsl(148, 62%, 50%)
HSVhsv(148, 76%, 81%)
CMYKcmyk(76.3%, 0%, 40.6%, 18.8%)
CIE-LABlab(74.00, -58.64, 30.59)
CIE-LCHlch(74.00, 66.13, 152.45°)
OKLaboklab(75.59% -0.1579 0.076)
OKLCHoklch(75.59% 0.175 154.3)
XYZxyz(27.1520, 46.7054, 26.3191)
Luminance0.4671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31CF7B #CF3185
analogous
#36CF31 #31CF7B #31CFCA
triadic
#31CF7B #7B31CF #CF7B31
tetradic
#31CF7B #3136CF #CF3185 #CFCA31
square
#31CF7B #3136CF #CF3185 #CFCA31
split-complementary
#31CF7B #CA31CF #CF3136
monochromatic
#196C40 #259E5E #31CF7B #63DB9B #94E6BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31CF7B#FFFFFF#000000##000000
##31CF7B1.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)
#CFBE75
Deuteranopia (green-blind)
#BCB181
Tritanopia (blue-blind)
#00CDBA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #31cf7b;
/* rgb */ color: rgb(49, 207, 123);
/* oklch */ color: oklch(75.6% 0.175 154.3);
Tailwind
colors: {
  custom: {
    50: '#81dfa2',
    500: '#31cf7b',
    950: '#000000',
  },
}
SCSS
$custom: #31cf7b;
$custom-light: #81dfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#31cf7b",
  "rgb": {
    "r": 49,
    "g": 207,
    "b": 123
  },
  "hsl": {
    "h": 148.101,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75591,
    "c": 0.17528,
    "h": 154.3
  },
  "luminance": 0.46709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31CF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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