#31AF24#31AF24

#31AF24 is a light, highly saturated green. Relative luminance 0.314; OKLCH L 66.1% C 0.204 H 141.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#31AF24
RGBrgb(49, 175, 36)
HSLhsl(114, 66%, 41%)
HSVhsv(114, 79%, 69%)
CMYKcmyk(72%, 0%, 79.4%, 31.4%)
CIE-LABlab(62.88, -58.74, 56.47)
CIE-LCHlch(62.88, 81.48, 136.13°)
OKLaboklab(66.07% -0.1601 0.1259)
OKLCHoklch(66.07% 0.204 141.8)
XYZxyz(16.9141, 31.4384, 6.8456)
Luminance0.3144 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF24 #A224AF
analogous
#77AF24 #31AF24 #24AF5C
triadic
#31AF24 #2431AF #AF2431
tetradic
#31AF24 #2477AF #A224AF #AF5C24
square
#31AF24 #2477AF #A224AF #AF5C24
split-complementary
#31AF24 #5C24AF #AF2477
monochromatic
#15490F #237C1A #31AF24 #48D63A #77E16D

Accessibility & contrast

On white

2.88
#31AF24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#31AF24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF24
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF24#FFFFFF#000000##000000
##31AF241.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#08A995
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31af24;
/* rgb */ color: rgb(49, 175, 36);
/* oklch */ color: oklch(66.1% 0.204 141.8);
Tailwind
colors: {
  custom: {
    50: '#7dc86a',
    500: '#31af24',
    950: '#000000',
  },
}
SCSS
$custom: #31af24;
$custom-light: #7dc86a;
$custom-dark: #000000;
JSON
{
  "hex": "#31af24",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 114.388,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66073,
    "c": 0.20365,
    "h": 141.8
  },
  "luminance": 0.3144
}

Semantic roles & 50–950 ramp

primary
#31AF24
secondary
#BE68C7
accent
#3FE9D9
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AF24

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

Preview Lab → · Contrast checker → · Palette generator →

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