#40AF29#40AF29

#40AF29 is a light, vivid green. Relative luminance 0.319; OKLCH L 66.5% C 0.196 H 140.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#40AF29
RGBrgb(64, 175, 41)
HSLhsl(110, 62%, 42%)
HSVhsv(110, 77%, 69%)
CMYKcmyk(63.4%, 0%, 76.6%, 31.4%)
CIE-LABlab(63.27, -55.37, 55.36)
CIE-LCHlch(63.27, 78.30, 135.01°)
OKLaboklab(66.51% -0.1516 0.1241)
OKLCHoklch(66.51% 0.196 140.7)
XYZxyz(17.8437, 31.9083, 7.3160)
Luminance0.3191 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF29 #9829AF
analogous
#83AF29 #40AF29 #29AF55
triadic
#40AF29 #2940AF #AF2940
tetradic
#40AF29 #2983AF #9829AF #AF5529
square
#40AF29 #2983AF #9829AF #AF5529
split-complementary
#40AF29 #5529AF #AF2983
monochromatic
#1C4C12 #2E7D1D #40AF29 #5BD342 #86DE74

Accessibility & contrast

On white

2.84
#40AF29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#40AF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF29
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF29#FFFFFF#000000##000000
##40AF291.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F08
Deuteranopia (green-blind)
#A69638
Tritanopia (blue-blind)
#2EA996
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40af29;
/* rgb */ color: rgb(64, 175, 41);
/* oklch */ color: oklch(66.5% 0.196 140.7);
Tailwind
colors: {
  custom: {
    50: '#83c86d',
    500: '#40af29',
    950: '#000000',
  },
}
SCSS
$custom: #40af29;
$custom-light: #83c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#40af29",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 109.701,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6651,
    "c": 0.19594,
    "h": 140.7
  },
  "luminance": 0.3191
}

Semantic roles & 50–950 ramp

primary
#40AF29
secondary
#B76EC6
accent
#43E5C9
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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