#31AF29#31AF29

#31AF29 is a light, highly saturated green. Relative luminance 0.315; OKLCH L 66.1% C 0.201 H 142.2°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#31AF29
RGBrgb(49, 175, 41)
HSLhsl(116, 62%, 42%)
HSVhsv(116, 77%, 69%)
CMYKcmyk(72%, 0%, 76.6%, 31.4%)
CIE-LABlab(62.90, -58.41, 54.88)
CIE-LCHlch(62.90, 80.15, 136.79°)
OKLaboklab(66.1% -0.159 0.1233)
OKLCHoklch(66.1% 0.201 142.2)
XYZxyz(16.9958, 31.4711, 7.2762)
Luminance0.3147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF29 #A729AF
analogous
#74AF29 #31AF29 #29AF64
triadic
#31AF29 #2931AF #AF2931
tetradic
#31AF29 #2974AF #A729AF #AF6429
square
#31AF29 #2974AF #A729AF #AF6429
split-complementary
#31AF29 #6429AF #AF2974
monochromatic
#154C12 #237D1D #31AF29 #4BD342 #7ADE74

Accessibility & contrast

On white

2.88
#31AF29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#31AF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF29
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF29#FFFFFF#000000##000000
##31AF291.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E09
Deuteranopia (green-blind)
#A59438
Tritanopia (blue-blind)
#06AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31af29;
/* rgb */ color: rgb(49, 175, 41);
/* oklch */ color: oklch(66.1% 0.201 142.2);
Tailwind
colors: {
  custom: {
    50: '#7dc86d',
    500: '#31af29',
    950: '#000000',
  },
}
SCSS
$custom: #31af29;
$custom-light: #7dc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#31af29",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 116.418,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66104,
    "c": 0.20115,
    "h": 142.2
  },
  "luminance": 0.31473
}

Semantic roles & 50–950 ramp

primary
#31AF29
secondary
#C16EC6
accent
#43E5DB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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