#31A921#31A921

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

Color values

HEX#31A921
RGBrgb(49, 169, 33)
HSLhsl(113, 67%, 40%)
HSVhsv(113, 80%, 66%)
CMYKcmyk(71%, 0%, 80.5%, 33.7%)
CIE-LABlab(60.90, -56.97, 55.51)
CIE-LCHlch(60.90, 79.54, 135.75°)
OKLaboklab(64.43% -0.1554 0.1235)
OKLCHoklch(64.43% 0.199 141.5)
XYZxyz(15.7282, 29.1370, 6.2337)
Luminance0.2914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A921 #9921A9
analogous
#75A921 #31A921 #21A955
triadic
#31A921 #2131A9 #A92131
tetradic
#31A921 #2175A9 #9921A9 #A95521
square
#31A921 #2175A9 #9921A9 #A95521
split-complementary
#31A921 #5521A9 #A92175
monochromatic
#13430D #227617 #31A921 #44D731 #72E164

Accessibility & contrast

On white

3.08
#31A921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A921#FFFFFF#000000##000000
##31A9211.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#A08F32
Tritanopia (blue-blind)
#11A490
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a921;
/* rgb */ color: rgb(49, 169, 33);
/* oklch */ color: oklch(64.4% 0.199 141.5);
Tailwind
colors: {
  custom: {
    50: '#7cc468',
    500: '#31a921',
    950: '#000000',
  },
}
SCSS
$custom: #31a921;
$custom-light: #7cc468;
$custom-dark: #000000;
JSON
{
  "hex": "#31a921",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 33
  },
  "hsl": {
    "h": 112.941,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64429,
    "c": 0.1985,
    "h": 141.5
  },
  "luminance": 0.29139
}

Semantic roles & 50–950 ramp

primary
#31A921
secondary
#BA60C6
accent
#3EEAD6
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31A921

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

Preview Lab → · Contrast checker → · Palette generator →

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