#31A421#31A421

#31A421 is a light, vivid green. Relative luminance 0.273; OKLCH L 63.1% C 0.193 H 141.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#31A421
RGBrgb(49, 164, 33)
HSLhsl(113, 66%, 39%)
HSVhsv(113, 80%, 64%)
CMYKcmyk(70.1%, 0%, 79.9%, 35.7%)
CIE-LABlab(59.26, -55.31, 53.95)
CIE-LCHlch(59.26, 77.27, 135.71°)
OKLaboklab(63.07% -0.151 0.1202)
OKLCHoklch(63.07% 0.193 141.5)
XYZxyz(14.8158, 27.3121, 5.9295)
Luminance0.2731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A421 #9421A4
analogous
#72A421 #31A421 #21A452
triadic
#31A421 #2131A4 #A42131
tetradic
#31A421 #2172A4 #9421A4 #A45221
square
#31A421 #2172A4 #9421A4 #A45221
split-complementary
#31A421 #5221A4 #A42172
monochromatic
#133E0C #227117 #31A421 #42D52D #70DF60

Accessibility & contrast

On white

3.25
#31A421 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#31A421 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A421
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A421#FFFFFF#000000##000000
##31A4211.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#9B8B31
Tritanopia (blue-blind)
#159F8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a421;
/* rgb */ color: rgb(49, 164, 33);
/* oklch */ color: oklch(63.1% 0.193 141.5);
Tailwind
colors: {
  custom: {
    50: '#7bc067',
    500: '#31a421',
    950: '#000000',
  },
}
SCSS
$custom: #31a421;
$custom-light: #7bc067;
$custom-dark: #000000;
JSON
{
  "hex": "#31a421",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 112.672,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63068,
    "c": 0.19299,
    "h": 141.5
  },
  "luminance": 0.27314
}

Semantic roles & 50–950 ramp

primary
#31A421
secondary
#B75DC4
accent
#3EE9D5
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A421

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

Preview Lab → · Contrast checker → · Palette generator →

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