#40A529#40A529

#40A529 is a light, vivid green. Relative luminance 0.282; OKLCH L 63.8% C 0.184 H 140.4°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#40A529
RGBrgb(64, 165, 41)
HSLhsl(109, 60%, 40%)
HSVhsv(109, 75%, 65%)
CMYKcmyk(61.2%, 0%, 75.2%, 35.3%)
CIE-LABlab(60.03, -51.83, 52.17)
CIE-LCHlch(60.03, 73.53, 134.81°)
OKLaboklab(63.83% -0.142 0.1175)
OKLCHoklch(63.83% 0.184 140.4)
XYZxyz(15.9690, 28.1589, 6.6911)
Luminance0.2816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A529 #8E29A5
analogous
#7EA529 #40A529 #29A550
triadic
#40A529 #2940A5 #A52940
tetradic
#40A529 #297EA5 #8E29A5 #A55029
square
#40A529 #297EA5 #8E29A5 #A55029
split-complementary
#40A529 #5029A5 #A5297E
monochromatic
#1A4311 #2D741D #40A529 #58CF3D #82DB6E

Accessibility & contrast

On white

3.17
#40A529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#40A529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A529
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A529#FFFFFF#000000##000000
##40A5291.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99610
Deuteranopia (green-blind)
#9D8E36
Tritanopia (blue-blind)
#32A08D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a529;
/* rgb */ color: rgb(64, 165, 41);
/* oklch */ color: oklch(63.8% 0.184 140.4);
Tailwind
colors: {
  custom: {
    50: '#81c16b',
    500: '#40a529',
    950: '#000000',
  },
}
SCSS
$custom: #40a529;
$custom-light: #81c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#40a529",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 108.871,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63833,
    "c": 0.18432,
    "h": 140.4
  },
  "luminance": 0.2816
}

Semantic roles & 50–950 ramp

primary
#40A529
secondary
#B168C2
accent
#44E3C6
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A529

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

Preview Lab → · Contrast checker → · Palette generator →

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