#31A923#31A923

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

Color values

HEX#31A923
RGBrgb(49, 169, 35)
HSLhsl(114, 66%, 40%)
HSVhsv(114, 79%, 66%)
CMYKcmyk(71%, 0%, 79.3%, 33.7%)
CIE-LABlab(60.91, -56.85, 54.90)
CIE-LCHlch(60.91, 79.03, 136.00°)
OKLaboklab(64.44% -0.155 0.1225)
OKLCHoklch(64.44% 0.198 141.7)
XYZxyz(15.7571, 29.1485, 6.3856)
Luminance0.2915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A923 #9B23A9
analogous
#74A923 #31A923 #23A958
triadic
#31A923 #2331A9 #A92331
tetradic
#31A923 #2374A9 #9B23A9 #A95823
square
#31A923 #2374A9 #9B23A9 #A95823
split-complementary
#31A923 #5823A9 #A92374
monochromatic
#14440E #227619 #31A923 #45D534 #74DF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A923#FFFFFF#000000##000000
##31A9231.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)
#9F8F33
Tritanopia (blue-blind)
#10A490
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a923;
/* rgb */ color: rgb(49, 169, 35);
/* oklch */ color: oklch(64.4% 0.198 141.7);
Tailwind
colors: {
  custom: {
    50: '#7cc469',
    500: '#31a923',
    950: '#000000',
  },
}
SCSS
$custom: #31a923;
$custom-light: #7cc469;
$custom-dark: #000000;
JSON
{
  "hex": "#31a923",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 35
  },
  "hsl": {
    "h": 113.731,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.64441,
    "c": 0.19756,
    "h": 141.7
  },
  "luminance": 0.2915
}

Semantic roles & 50–950 ramp

primary
#31A923
secondary
#BB63C5
accent
#3FE9D7
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31A923

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

Preview Lab → · Contrast checker → · Palette generator →

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