#31D72E#31D72E

#31D72E is a light, highly saturated green. Relative luminance 0.495; OKLCH L 76.8% C 0.241 H 142.6°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#31D72E
RGBrgb(49, 215, 46)
HSLhsl(119, 68%, 51%)
HSVhsv(119, 79%, 84%)
CMYKcmyk(77.2%, 0%, 78.6%, 15.7%)
CIE-LABlab(75.73, -70.57, 65.70)
CIE-LCHlch(75.73, 96.42, 137.04°)
OKLaboklab(76.77% -0.1917 0.1465)
OKLCHoklch(76.77% 0.241 142.6)
XYZxyz(26.0586, 49.4480, 10.7553)
Luminance0.4945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31D72E #D42ED7
analogous
#85D72E #31D72E #2ED77F
triadic
#31D72E #2E31D7 #D72E31
tetradic
#31D72E #2E85D7 #D42ED7 #D77F2E
square
#31D72E #2E85D7 #D42ED7 #D77F2E
split-complementary
#31D72E #7F2ED7 #D72E85
monochromatic
#187416 #23A820 #31D72E #64E161 #96EB95

Accessibility & contrast

On white

1.93
#31D72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#31D72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31D72E
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31D72E#FFFFFF#000000##000000
##31D72E1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC200
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#00D0B8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #31d72e;
/* rgb */ color: rgb(49, 215, 46);
/* oklch */ color: oklch(76.8% 0.241 142.6);
Tailwind
colors: {
  custom: {
    50: '#86e574',
    500: '#31d72e',
    950: '#000000',
  },
}
SCSS
$custom: #31d72e;
$custom-light: #86e574;
$custom-dark: #000000;
JSON
{
  "hex": "#31d72e",
  "rgb": {
    "r": 49,
    "g": 215,
    "b": 46
  },
  "hsl": {
    "h": 118.935,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76773,
    "c": 0.24124,
    "h": 142.6
  },
  "luminance": 0.49451
}

Semantic roles & 50–950 ramp

primary
#31D72E
secondary
#D48BD6
accent
#3DEBE8
background
#F9FEF7
surface
#F1FCED
border
#CBD5C8
text
#0D1609
muted
#7E847B

Preview Lab

Preview with #31D72E

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

Preview Lab → · Contrast checker → · Palette generator →

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