#31A924#31A924

#31A924 is a light, vivid green. Relative luminance 0.292; OKLCH L 64.4% C 0.197 H 141.8°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#31A924
RGBrgb(49, 169, 36)
HSLhsl(114, 65%, 40%)
HSVhsv(114, 79%, 66%)
CMYKcmyk(71%, 0%, 78.7%, 33.7%)
CIE-LABlab(60.92, -56.78, 54.59)
CIE-LCHlch(60.92, 78.77, 136.13°)
OKLaboklab(64.45% -0.1548 0.122)
OKLCHoklch(64.45% 0.197 141.8)
XYZxyz(15.7721, 29.1546, 6.4649)
Luminance0.2916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A924 #9C24A9
analogous
#74A924 #31A924 #24A959
triadic
#31A924 #2431A9 #A92431
tetradic
#31A924 #2474A9 #9C24A9 #A95924
square
#31A924 #2474A9 #9C24A9 #A95924
split-complementary
#31A924 #5924A9 #A92474
monochromatic
#14440F #227719 #31A924 #45D436 #74DF68

Accessibility & contrast

On white

3.07
#31A924 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#31A924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A924
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A924#FFFFFF#000000##000000
##31A9241.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#0FA490
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a924;
/* rgb */ color: rgb(49, 169, 36);
/* oklch */ color: oklch(64.4% 0.197 141.8);
Tailwind
colors: {
  custom: {
    50: '#7cc469',
    500: '#31a924',
    950: '#000000',
  },
}
SCSS
$custom: #31a924;
$custom-light: #7cc469;
$custom-dark: #000000;
JSON
{
  "hex": "#31a924",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 36
  },
  "hsl": {
    "h": 114.135,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64447,
    "c": 0.19707,
    "h": 141.8
  },
  "luminance": 0.29156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A924

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

Preview Lab → · Contrast checker → · Palette generator →

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