#31A129#31A129

#31A129 is a light, vivid green. Relative luminance 0.263; OKLCH L 62.3% C 0.185 H 142.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#31A129
RGBrgb(49, 161, 41)
HSLhsl(116, 59%, 40%)
HSVhsv(116, 75%, 63%)
CMYKcmyk(69.6%, 0%, 74.5%, 36.9%)
CIE-LABlab(58.32, -53.74, 50.32)
CIE-LCHlch(58.32, 73.62, 136.88°)
OKLaboklab(62.3% -0.1463 0.1138)
OKLCHoklch(62.3% 0.185 142.1)
XYZxyz(14.4109, 26.3013, 6.4146)
Luminance0.2630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A129 #9929A1
analogous
#6DA129 #31A129 #29A15D
triadic
#31A129 #2931A1 #A12931
tetradic
#31A129 #296DA1 #9929A1 #A15D29
square
#31A129 #296DA1 #9929A1 #A15D29
split-complementary
#31A129 #5D29A1 #A1296D
monochromatic
#133F10 #22701D #31A129 #44CD3A #72D96B

Accessibility & contrast

On white

3.35
#31A129 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#31A129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A129
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A129#FFFFFF#000000##000000
##31A1291.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59212
Deuteranopia (green-blind)
#988936
Tritanopia (blue-blind)
#149C8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #31a129;
/* rgb */ color: rgb(49, 161, 41);
/* oklch */ color: oklch(62.3% 0.185 142.1);
Tailwind
colors: {
  custom: {
    50: '#7abe6b',
    500: '#31a129',
    950: '#000000',
  },
}
SCSS
$custom: #31a129;
$custom-light: #7abe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#31a129",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 41
  },
  "hsl": {
    "h": 116,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62303,
    "c": 0.18533,
    "h": 142.1
  },
  "luminance": 0.26303
}

Semantic roles & 50–950 ramp

primary
#31A129
secondary
#BA66C0
accent
#45E3D8
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #31A129

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

Preview Lab → · Contrast checker → · Palette generator →

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