#31A820#31A820

#31A820 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.2% C 0.198 H 141.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#31A820
RGBrgb(49, 168, 32)
HSLhsl(113, 68%, 39%)
HSVhsv(113, 81%, 66%)
CMYKcmyk(70.8%, 0%, 81%, 34.1%)
CIE-LABlab(60.57, -56.70, 55.49)
CIE-LCHlch(60.57, 79.34, 135.62°)
OKLaboklab(64.15% -0.1548 0.1233)
OKLCHoklch(64.15% 0.198 141.5)
XYZxyz(15.5291, 28.7608, 6.0992)
Luminance0.2876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A820 #9720A8
analogous
#75A820 #31A820 #20A853
triadic
#31A820 #2031A8 #A82031
tetradic
#31A820 #2075A8 #9720A8 #A85320
square
#31A820 #2075A8 #9720A8 #A85320
split-complementary
#31A820 #5320A8 #A82075
monochromatic
#13410C #227516 #31A820 #43D72E #71E161

Accessibility & contrast

On white

3.11
#31A820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#31A820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A820
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A820#FFFFFF#000000##000000
##31A8201.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#9F8F31
Tritanopia (blue-blind)
#12A38F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a820;
/* rgb */ color: rgb(49, 168, 32);
/* oklch */ color: oklch(64.2% 0.198 141.5);
Tailwind
colors: {
  custom: {
    50: '#7cc368',
    500: '#31a820',
    950: '#000000',
  },
}
SCSS
$custom: #31a820;
$custom-light: #7cc368;
$custom-dark: #000000;
JSON
{
  "hex": "#31a820",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 112.5,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64152,
    "c": 0.19787,
    "h": 141.5
  },
  "luminance": 0.28763
}

Semantic roles & 50–950 ramp

primary
#31A820
secondary
#B95EC6
accent
#3DEBD5
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31A820

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

Preview Lab → · Contrast checker → · Palette generator →

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