#31A329#31A329

#31A329 is a light, vivid green. Relative luminance 0.270; OKLCH L 62.8% C 0.188 H 142.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#31A329
RGBrgb(49, 163, 41)
HSLhsl(116, 60%, 40%)
HSVhsv(116, 75%, 64%)
CMYKcmyk(69.9%, 0%, 74.8%, 36.1%)
CIE-LABlab(58.98, -54.42, 50.98)
CIE-LCHlch(58.98, 74.57, 136.87°)
OKLaboklab(62.85% -0.1481 0.1151)
OKLCHoklch(62.85% 0.188 142.1)
XYZxyz(14.7632, 27.0059, 6.5320)
Luminance0.2701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A329 #9B29A3
analogous
#6EA329 #31A329 #29A35E
triadic
#31A329 #2931A3 #A32931
tetradic
#31A329 #296EA3 #9B29A3 #A35E29
square
#31A329 #296EA3 #9B29A3 #A35E29
split-complementary
#31A329 #5E29A3 #A3296E
monochromatic
#144110 #22721D #31A329 #45CE3B #73DA6C

Accessibility & contrast

On white

3.28
#31A329 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#31A329 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A329
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A329#FFFFFF#000000##000000
##31A3291.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79311
Deuteranopia (green-blind)
#9A8A36
Tritanopia (blue-blind)
#139E8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a329;
/* rgb */ color: rgb(49, 163, 41);
/* oklch */ color: oklch(62.8% 0.188 142.1);
Tailwind
colors: {
  custom: {
    50: '#7abf6b',
    500: '#31a329',
    950: '#000000',
  },
}
SCSS
$custom: #31a329;
$custom-light: #7abf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#31a329",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 41
  },
  "hsl": {
    "h": 116.066,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.62848,
    "c": 0.18763,
    "h": 142.1
  },
  "luminance": 0.27007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A329

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

Preview Lab → · Contrast checker → · Palette generator →

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