#31A81E#31A81E

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

Color values

HEX#31A81E
RGBrgb(49, 168, 30)
HSLhsl(112, 70%, 39%)
HSVhsv(112, 82%, 66%)
CMYKcmyk(70.8%, 0%, 82.1%, 34.1%)
CIE-LABlab(60.56, -56.82, 56.06)
CIE-LCHlch(60.56, 79.82, 135.38°)
OKLaboklab(64.14% -0.1551 0.1242)
OKLCHoklch(64.14% 0.199 141.3)
XYZxyz(15.5028, 28.7503, 5.9604)
Luminance0.2875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A81E #951EA8
analogous
#76A81E #31A81E #1EA850
triadic
#31A81E #1E31A8 #A81E31
tetradic
#31A81E #1E76A8 #951EA8 #A8501E
square
#31A81E #1E76A8 #951EA8 #A8501E
split-complementary
#31A81E #501EA8 #A81E76
monochromatic
#13400B #227415 #31A81E #42D92A #70E25E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A81E#FFFFFF#000000##000000
##31A81E1.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)
#9F8E30
Tritanopia (blue-blind)
#12A38F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a81e;
/* rgb */ color: rgb(49, 168, 30);
/* oklch */ color: oklch(64.1% 0.199 141.3);
Tailwind
colors: {
  custom: {
    50: '#7cc367',
    500: '#31a81e',
    950: '#000000',
  },
}
SCSS
$custom: #31a81e;
$custom-light: #7cc367;
$custom-dark: #000000;
JSON
{
  "hex": "#31a81e",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 30
  },
  "hsl": {
    "h": 111.739,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64141,
    "c": 0.19874,
    "h": 141.3
  },
  "luminance": 0.28752
}

Semantic roles & 50–950 ramp

primary
#31A81E
secondary
#B85BC7
accent
#3BEDD4
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31A81E

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

Preview Lab → · Contrast checker → · Palette generator →

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