#31C752#31C752

#31C752 is a light, highly saturated green. Relative luminance 0.421; OKLCH L 72.9% C 0.201 H 146.5°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#31C752
RGBrgb(49, 199, 82)
HSLhsl(133, 60%, 49%)
HSVhsv(133, 75%, 78%)
CMYKcmyk(75.4%, 0%, 58.8%, 22%)
CIE-LABlab(70.94, -62.23, 46.87)
CIE-LCHlch(70.94, 77.91, 143.01°)
OKLaboklab(72.88% -0.1676 0.1108)
OKLCHoklch(72.88% 0.201 146.5)
XYZxyz(23.2113, 42.1063, 14.8850)
Luminance0.4211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C752 #C731A6
analogous
#5BC731 #31C752 #31C79D
triadic
#31C752 #5231C7 #C75231
tetradic
#31C752 #315BC7 #C731A6 #C79D31
square
#31C752 #315BC7 #C731A6 #C79D31
split-complementary
#31C752 #9D31C7 #C7315B
monochromatic
#19652A #25963E #31C752 #5ED779 #8FE3A2

Accessibility & contrast

On white

2.23
#31C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#31C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C752
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C752#FFFFFF#000000##000000
##31C7521.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB546
Deuteranopia (green-blind)
#B9A95C
Tritanopia (blue-blind)
#00C2AE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #31c752;
/* rgb */ color: rgb(49, 199, 82);
/* oklch */ color: oklch(72.9% 0.201 146.5);
Tailwind
colors: {
  custom: {
    50: '#80d986',
    500: '#31c752',
    950: '#000000',
  },
}
SCSS
$custom: #31c752;
$custom-light: #80d986;
$custom-dark: #000000;
JSON
{
  "hex": "#31c752",
  "rgb": {
    "r": 49,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 133.2,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72884,
    "c": 0.20091,
    "h": 146.5
  },
  "luminance": 0.42109
}

Semantic roles & 50–950 ramp

primary
#31C752
secondary
#CE86BE
accent
#44C1E4
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #31C752

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

Preview Lab → · Contrast checker → · Palette generator →

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