#31A529#31A529

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

Color values

HEX#31A529
RGBrgb(49, 165, 41)
HSLhsl(116, 60%, 40%)
HSVhsv(116, 75%, 65%)
CMYKcmyk(70.3%, 0%, 75.2%, 35.3%)
CIE-LABlab(59.64, -55.09, 51.64)
CIE-LCHlch(59.64, 75.51, 136.85°)
OKLaboklab(63.39% -0.15 0.1165)
OKLCHoklch(63.39% 0.19 142.2)
XYZxyz(15.1211, 27.7217, 6.6513)
Luminance0.2772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A529 #9D29A5
analogous
#6FA529 #31A529 #29A55F
triadic
#31A529 #2931A5 #A52931
tetradic
#31A529 #296FA5 #9D29A5 #A55F29
square
#31A529 #296FA5 #9D29A5 #A55F29
split-complementary
#31A529 #5F29A5 #A5296F
monochromatic
#144311 #22741D #31A529 #46CF3D #75DB6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A529#FFFFFF#000000##000000
##31A5291.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)
#A99510
Deuteranopia (green-blind)
#9B8C36
Tritanopia (blue-blind)
#11A08D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a529;
/* rgb */ color: rgb(49, 165, 41);
/* oklch */ color: oklch(63.4% 0.190 142.2);
Tailwind
colors: {
  custom: {
    50: '#7bc16b',
    500: '#31a529',
    950: '#000000',
  },
}
SCSS
$custom: #31a529;
$custom-light: #7bc16b;
$custom-dark: #000000;
JSON
{
  "hex": "#31a529",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 116.129,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63393,
    "c": 0.18991,
    "h": 142.2
  },
  "luminance": 0.27723
}

Semantic roles & 50–950 ramp

primary
#31A529
secondary
#BC68C2
accent
#44E3D9
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A529

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

Preview Lab → · Contrast checker → · Palette generator →

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