#31A823#31A823

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

Color values

HEX#31A823
RGBrgb(49, 168, 35)
HSLhsl(114, 66%, 40%)
HSVhsv(114, 79%, 66%)
CMYKcmyk(70.8%, 0%, 79.2%, 34.1%)
CIE-LABlab(60.59, -56.52, 54.59)
CIE-LCHlch(60.59, 78.58, 135.99°)
OKLaboklab(64.17% -0.1541 0.1218)
OKLCHoklch(64.17% 0.196 141.7)
XYZxyz(15.5718, 28.7779, 6.3238)
Luminance0.2878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A823 #9A23A8
analogous
#74A823 #31A823 #23A857
triadic
#31A823 #2331A8 #A82331
tetradic
#31A823 #2374A8 #9A23A8 #A85723
square
#31A823 #2374A8 #9A23A8 #A85723
split-complementary
#31A823 #5723A8 #A82374
monochromatic
#13430E #227518 #31A823 #45D534 #73DF66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A823#FFFFFF#000000##000000
##31A8231.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)
#9F8F33
Tritanopia (blue-blind)
#11A38F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a823;
/* rgb */ color: rgb(49, 168, 35);
/* oklch */ color: oklch(64.2% 0.196 141.7);
Tailwind
colors: {
  custom: {
    50: '#7cc369',
    500: '#31a823',
    950: '#000000',
  },
}
SCSS
$custom: #31a823;
$custom-light: #7cc369;
$custom-dark: #000000;
JSON
{
  "hex": "#31a823",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 113.684,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64169,
    "c": 0.19646,
    "h": 141.7
  },
  "luminance": 0.2878
}

Semantic roles & 50–950 ramp

primary
#31A823
secondary
#BA62C5
accent
#3FE8D7
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31A823

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

Preview Lab → · Contrast checker → · Palette generator →

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