#31A824#31A824

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

Color values

HEX#31A824
RGBrgb(49, 168, 36)
HSLhsl(114, 65%, 40%)
HSVhsv(114, 79%, 66%)
CMYKcmyk(70.8%, 0%, 78.6%, 34.1%)
CIE-LABlab(60.59, -56.45, 54.28)
CIE-LCHlch(60.59, 78.31, 136.12°)
OKLaboklab(64.18% -0.1539 0.1213)
OKLCHoklch(64.18% 0.196 141.8)
XYZxyz(15.5868, 28.7839, 6.4031)
Luminance0.2879 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A824 #9B24A8
analogous
#73A824 #31A824 #24A859
triadic
#31A824 #2431A8 #A82431
tetradic
#31A824 #2473A8 #9B24A8 #A85924
square
#31A824 #2473A8 #9B24A8 #A85924
split-complementary
#31A824 #5924A8 #A82473
monochromatic
#14430E #227619 #31A824 #45D435 #73DF68

Accessibility & contrast

On white

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

On black

6.76
#31A824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A824
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A824#FFFFFF#000000##000000
##31A8241.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a824;
/* rgb */ color: rgb(49, 168, 36);
/* oklch */ color: oklch(64.2% 0.196 141.8);
Tailwind
colors: {
  custom: {
    50: '#7bc369',
    500: '#31a824',
    950: '#000000',
  },
}
SCSS
$custom: #31a824;
$custom-light: #7bc369;
$custom-dark: #000000;
JSON
{
  "hex": "#31a824",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 36
  },
  "hsl": {
    "h": 114.091,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.64175,
    "c": 0.19596,
    "h": 141.8
  },
  "luminance": 0.28786
}

Semantic roles & 50–950 ramp

primary
#31A824
secondary
#BB63C4
accent
#40E8D7
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31A824

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

Preview Lab → · Contrast checker → · Palette generator →

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