#31CF52#31CF52

#31CF52 is a light, highly saturated green. Relative luminance 0.459; OKLCH L 75.0% C 0.210 H 146.2°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#31CF52
RGBrgb(49, 207, 82)
HSLhsl(133, 62%, 50%)
HSVhsv(133, 76%, 81%)
CMYKcmyk(76.3%, 0%, 60.4%, 18.8%)
CIE-LABlab(73.47, -64.86, 49.80)
CIE-LCHlch(73.47, 81.77, 142.48°)
OKLaboklab(74.98% -0.1747 0.1171)
OKLCHoklch(74.98% 0.21 146.2)
XYZxyz(25.1006, 45.8848, 15.5148)
Luminance0.4589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31CF52 #CF31AE
analogous
#5FCF31 #31CF52 #31CFA1
triadic
#31CF52 #5231CF #CF5231
tetradic
#31CF52 #315FCF #CF31AE #CFA131
square
#31CF52 #315FCF #CF31AE #CFA131
split-complementary
#31CF52 #A131CF #CF315F
monochromatic
#196C2B #259E3E #31CF52 #63DB7C #94E6A5

Accessibility & contrast

On white

2.06
#31CF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#31CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31CF52
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31CF52#FFFFFF#000000##000000
##31CF521.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC44
Deuteranopia (green-blind)
#C0B05C
Tritanopia (blue-blind)
#00CAB4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #31cf52;
/* rgb */ color: rgb(49, 207, 82);
/* oklch */ color: oklch(75.0% 0.210 146.2);
Tailwind
colors: {
  custom: {
    50: '#82df87',
    500: '#31cf52',
    950: '#000000',
  },
}
SCSS
$custom: #31cf52;
$custom-light: #82df87;
$custom-dark: #000000;
JSON
{
  "hex": "#31cf52",
  "rgb": {
    "r": 49,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 132.532,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7498,
    "c": 0.21035,
    "h": 146.2
  },
  "luminance": 0.45888
}

Semantic roles & 50–950 ramp

primary
#31CF52
secondary
#D18BC2
accent
#43C3E5
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #31CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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