#31A82E#31A82E

#31A82E is a light, vivid green. Relative luminance 0.289; OKLCH L 64.2% C 0.190 H 142.7°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#31A82E
RGBrgb(49, 168, 46)
HSLhsl(119, 57%, 42%)
HSVhsv(119, 73%, 66%)
CMYKcmyk(70.8%, 0%, 72.6%, 34.1%)
CIE-LABlab(60.65, -55.70, 50.83)
CIE-LCHlch(60.65, 75.40, 137.62°)
OKLaboklab(64.25% -0.1514 0.1155)
OKLCHoklch(64.25% 0.19 142.7)
XYZxyz(15.7615, 28.8538, 7.3229)
Luminance0.2885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A82E #A52EA8
analogous
#6EA82E #31A82E #2EA868
triadic
#31A82E #2E31A8 #A82E31
tetradic
#31A82E #2E6EA8 #A52EA8 #A8682E
square
#31A82E #2E6EA8 #A52EA8 #A8682E
split-complementary
#31A82E #682EA8 #A82E6E
monochromatic
#154814 #237821 #31A82E #4ACD47 #79DA77

Accessibility & contrast

On white

3.10
#31A82E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#31A82E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A82E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A82E#FFFFFF#000000##000000
##31A82E1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9819
Deuteranopia (green-blind)
#9E8F3A
Tritanopia (blue-blind)
#0CA390
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a82e;
/* rgb */ color: rgb(49, 168, 46);
/* oklch */ color: oklch(64.2% 0.190 142.7);
Tailwind
colors: {
  custom: {
    50: '#7bc36e',
    500: '#31a82e',
    950: '#000000',
  },
}
SCSS
$custom: #31a82e;
$custom-light: #7bc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a82e",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 118.525,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64247,
    "c": 0.19038,
    "h": 142.7
  },
  "luminance": 0.28855
}

Semantic roles & 50–950 ramp

primary
#31A82E
secondary
#C070C2
accent
#48E0DD
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31A82E

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

Preview Lab → · Contrast checker → · Palette generator →

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