#31A724#31A724

#31A724 is a light, vivid green. Relative luminance 0.284; OKLCH L 63.9% C 0.195 H 141.7°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#31A724
RGBrgb(49, 167, 36)
HSLhsl(114, 65%, 40%)
HSVhsv(114, 78%, 65%)
CMYKcmyk(70.7%, 0%, 78.4%, 34.5%)
CIE-LABlab(60.26, -56.12, 53.96)
CIE-LCHlch(60.26, 77.85, 136.12°)
OKLaboklab(63.9% -0.153 0.1207)
OKLCHoklch(63.9% 0.195 141.7)
XYZxyz(15.4029, 28.4161, 6.3418)
Luminance0.2842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A724 #9A24A7
analogous
#72A724 #31A724 #24A759
triadic
#31A724 #2431A7 #A72431
tetradic
#31A724 #2472A7 #9A24A7 #A75924
square
#31A724 #2472A7 #9A24A7 #A75924
split-complementary
#31A724 #5924A7 #A72472
monochromatic
#13420E #227519 #31A724 #45D335 #73DE67

Accessibility & contrast

On white

3.14
#31A724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#31A724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A724
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A724#FFFFFF#000000##000000
##31A7241.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#11A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a724;
/* rgb */ color: rgb(49, 167, 36);
/* oklch */ color: oklch(63.9% 0.195 141.7);
Tailwind
colors: {
  custom: {
    50: '#7bc269',
    500: '#31a724',
    950: '#000000',
  },
}
SCSS
$custom: #31a724;
$custom-light: #7bc269;
$custom-dark: #000000;
JSON
{
  "hex": "#31a724",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 36
  },
  "hsl": {
    "h": 114.046,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63904,
    "c": 0.19485,
    "h": 141.7
  },
  "luminance": 0.28418
}

Semantic roles & 50–950 ramp

primary
#31A724
secondary
#BA63C4
accent
#40E8D7
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A724

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

Preview Lab → · Contrast checker → · Palette generator →

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