#31A629#31A629

#31A629 is a light, vivid green. Relative luminance 0.281; OKLCH L 63.7% C 0.191 H 142.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#31A629
RGBrgb(49, 166, 41)
HSLhsl(116, 60%, 41%)
HSVhsv(116, 75%, 65%)
CMYKcmyk(70.5%, 0%, 75.3%, 34.9%)
CIE-LABlab(59.96, -55.43, 51.97)
CIE-LCHlch(59.96, 75.98, 136.85°)
OKLaboklab(63.67% -0.1509 0.1172)
OKLCHoklch(63.67% 0.191 142.2)
XYZxyz(15.3022, 28.0838, 6.7117)
Luminance0.2808 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A629 #9E29A6
analogous
#6FA629 #31A629 #29A65F
triadic
#31A629 #2931A6 #A62931
tetradic
#31A629 #296FA6 #9E29A6 #A65F29
square
#31A629 #296FA6 #9E29A6 #A65F29
split-complementary
#31A629 #5F29A6 #A6296F
monochromatic
#144411 #23751D #31A629 #46CF3D #75DB6E

Accessibility & contrast

On white

3.17
#31A629 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#31A629 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A629
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A629#FFFFFF#000000##000000
##31A6291.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960F
Deuteranopia (green-blind)
#9C8D36
Tritanopia (blue-blind)
#10A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a629;
/* rgb */ color: rgb(49, 166, 41);
/* oklch */ color: oklch(63.7% 0.191 142.2);
Tailwind
colors: {
  custom: {
    50: '#7bc16b',
    500: '#31a629',
    950: '#000000',
  },
}
SCSS
$custom: #31a629;
$custom-light: #7bc16b;
$custom-dark: #000000;
JSON
{
  "hex": "#31a629",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 41
  },
  "hsl": {
    "h": 116.16,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63665,
    "c": 0.19105,
    "h": 142.2
  },
  "luminance": 0.28085
}

Semantic roles & 50–950 ramp

primary
#31A629
secondary
#BC69C2
accent
#44E4D9
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A629

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

Preview Lab → · Contrast checker → · Palette generator →

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