#31A522#31A522

#31A522 is a light, vivid green. Relative luminance 0.277; OKLCH L 63.3% C 0.194 H 141.6°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#31A522
RGBrgb(49, 165, 34)
HSLhsl(113, 66%, 39%)
HSVhsv(113, 79%, 65%)
CMYKcmyk(70.3%, 0%, 79.4%, 35.3%)
CIE-LABlab(59.60, -55.58, 53.96)
CIE-LCHlch(59.60, 77.47, 135.85°)
OKLaboklab(63.35% -0.1516 0.1204)
OKLCHoklch(63.35% 0.194 141.6)
XYZxyz(15.0097, 27.6771, 6.0643)
Luminance0.2768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A522 #9622A5
analogous
#73A522 #31A522 #22A555
triadic
#31A522 #2231A5 #A52231
tetradic
#31A522 #2273A5 #9622A5 #A55522
square
#31A522 #2273A5 #9622A5 #A55522
split-complementary
#31A522 #5522A5 #A52273
monochromatic
#13400D #227218 #31A522 #43D430 #71DF63

Accessibility & contrast

On white

3.21
#31A522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#31A522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A522
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A522#FFFFFF#000000##000000
##31A5221.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#14A08D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a522;
/* rgb */ color: rgb(49, 165, 34);
/* oklch */ color: oklch(63.3% 0.194 141.6);
Tailwind
colors: {
  custom: {
    50: '#7bc168',
    500: '#31a522',
    950: '#000000',
  },
}
SCSS
$custom: #31a522;
$custom-light: #7bc168;
$custom-dark: #000000;
JSON
{
  "hex": "#31a522",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 113.13,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63347,
    "c": 0.19361,
    "h": 141.6
  },
  "luminance": 0.27679
}

Semantic roles & 50–950 ramp

primary
#31A522
secondary
#B85FC4
accent
#3FE9D5
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A522

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

Preview Lab → · Contrast checker → · Palette generator →

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