#31C751#31C751

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

Color values

HEX#31C751
RGBrgb(49, 199, 81)
HSLhsl(133, 60%, 49%)
HSVhsv(133, 75%, 78%)
CMYKcmyk(75.4%, 0%, 59.3%, 22%)
CIE-LABlab(70.93, -62.36, 47.32)
CIE-LCHlch(70.93, 78.28, 142.81°)
OKLaboklab(72.87% -0.1679 0.1117)
OKLCHoklch(72.87% 0.202 146.4)
XYZxyz(23.1735, 42.0912, 14.6861)
Luminance0.4209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C751 #C731A7
analogous
#5CC731 #31C751 #31C79C
triadic
#31C751 #5131C7 #C75131
tetradic
#31C751 #315CC7 #C731A7 #C79C31
square
#31C751 #315CC7 #C731A7 #C79C31
split-complementary
#31C751 #9C31C7 #C7315C
monochromatic
#196529 #25963D #31C751 #5ED778 #8FE3A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C751#FFFFFF#000000##000000
##31C7511.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)
#CAB545
Deuteranopia (green-blind)
#B9A95B
Tritanopia (blue-blind)
#00C2AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #31c751;
/* rgb */ color: rgb(49, 199, 81);
/* oklch */ color: oklch(72.9% 0.202 146.4);
Tailwind
colors: {
  custom: {
    50: '#80d985',
    500: '#31c751',
    950: '#000000',
  },
}
SCSS
$custom: #31c751;
$custom-light: #80d985;
$custom-dark: #000000;
JSON
{
  "hex": "#31c751",
  "rgb": {
    "r": 49,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 132.8,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72873,
    "c": 0.20171,
    "h": 146.4
  },
  "luminance": 0.42094
}

Semantic roles & 50–950 ramp

primary
#31C751
secondary
#CE86BF
accent
#44C2E4
background
#F8FDF8
surface
#F0FBEF
border
#CBD4CA
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #31C751

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

Preview Lab → · Contrast checker → · Palette generator →

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