#31C72D#31C72D

#31C72D is a light, highly saturated green. Relative luminance 0.417; OKLCH L 72.6% C 0.225 H 142.6°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#31C72D
RGBrgb(49, 199, 45)
HSLhsl(118, 63%, 48%)
HSVhsv(118, 77%, 78%)
CMYKcmyk(75.4%, 0%, 77.4%, 22%)
CIE-LABlab(70.65, -65.76, 61.14)
CIE-LCHlch(70.65, 89.79, 137.09°)
OKLaboklab(72.55% -0.1787 0.1368)
OKLCHoklch(72.55% 0.225 142.6)
XYZxyz(22.1623, 41.6867, 9.3604)
Luminance0.4169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C72D #C32DC7
analogous
#7EC72D #31C72D #2DC776
triadic
#31C72D #2D31C7 #C72D31
tetradic
#31C72D #2D7EC7 #C32DC7 #C7762D
square
#31C72D #2D7EC7 #C32DC7 #C7762D
split-complementary
#31C72D #762DC7 #C72D7E
monochromatic
#186316 #259522 #31C72D #5BD958 #8CE58A

Accessibility & contrast

On white

2.25
#31C72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#31C72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C72D
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C72D#FFFFFF#000000##000000
##31C72D1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB400
Deuteranopia (green-blind)
#BBA83F
Tritanopia (blue-blind)
#00C1AA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c72d;
/* rgb */ color: rgb(49, 199, 45);
/* oklch */ color: oklch(72.6% 0.225 142.6);
Tailwind
colors: {
  custom: {
    50: '#82d972',
    500: '#31c72d',
    950: '#000000',
  },
}
SCSS
$custom: #31c72d;
$custom-light: #82d972;
$custom-dark: #000000;
JSON
{
  "hex": "#31c72d",
  "rgb": {
    "r": 49,
    "g": 199,
    "b": 45
  },
  "hsl": {
    "h": 118.442,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72551,
    "c": 0.22506,
    "h": 142.6
  },
  "luminance": 0.41689
}

Semantic roles & 50–950 ramp

primary
#31C72D
secondary
#CC81CE
accent
#42E6E2
background
#F8FDF7
surface
#F0FBED
border
#CBD4C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #31C72D

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

Preview Lab → · Contrast checker → · Palette generator →

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