#31A429#31A429

#31A429 is a light, vivid green. Relative luminance 0.274; OKLCH L 63.1% C 0.189 H 142.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#31A429
RGBrgb(49, 164, 41)
HSLhsl(116, 60%, 40%)
HSVhsv(116, 75%, 64%)
CMYKcmyk(70.1%, 0%, 75%, 35.7%)
CIE-LABlab(59.31, -54.76, 51.31)
CIE-LCHlch(59.31, 75.04, 136.86°)
OKLaboklab(63.12% -0.1491 0.1158)
OKLCHoklch(63.12% 0.189 142.2)
XYZxyz(14.9415, 27.3624, 6.5914)
Luminance0.2736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A429 #9C29A4
analogous
#6EA429 #31A429 #29A45F
triadic
#31A429 #2931A4 #A42931
tetradic
#31A429 #296EA4 #9C29A4 #A45F29
square
#31A429 #296EA4 #9C29A4 #A45F29
split-complementary
#31A429 #5F29A4 #A4296E
monochromatic
#144211 #22731D #31A429 #45CE3C #74DA6D

Accessibility & contrast

On white

3.24
#31A429 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#31A429 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A429
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A429#FFFFFF#000000##000000
##31A4291.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89410
Deuteranopia (green-blind)
#9B8B36
Tritanopia (blue-blind)
#129F8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a429;
/* rgb */ color: rgb(49, 164, 41);
/* oklch */ color: oklch(63.1% 0.189 142.2);
Tailwind
colors: {
  custom: {
    50: '#7ac06b',
    500: '#31a429',
    950: '#000000',
  },
}
SCSS
$custom: #31a429;
$custom-light: #7ac06b;
$custom-dark: #000000;
JSON
{
  "hex": "#31a429",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 41
  },
  "hsl": {
    "h": 116.098,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63121,
    "c": 0.18878,
    "h": 142.2
  },
  "luminance": 0.27364
}

Semantic roles & 50–950 ramp

primary
#31A429
secondary
#BB68C1
accent
#45E3D9
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A429

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

Preview Lab → · Contrast checker → · Palette generator →

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