#40A629#40A629

#40A629 is a light, vivid green. Relative luminance 0.285; OKLCH L 64.1% C 0.185 H 140.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#40A629
RGBrgb(64, 166, 41)
HSLhsl(109, 60%, 41%)
HSVhsv(109, 75%, 65%)
CMYKcmyk(61.4%, 0%, 75.3%, 34.9%)
CIE-LABlab(60.36, -52.19, 52.49)
CIE-LCHlch(60.36, 74.02, 134.83°)
OKLaboklab(64.1% -0.143 0.1182)
OKLCHoklch(64.1% 0.186 140.4)
XYZxyz(16.1500, 28.5210, 6.7514)
Luminance0.2852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A629 #8F29A6
analogous
#7EA629 #40A629 #29A650
triadic
#40A629 #2940A6 #A62940
tetradic
#40A629 #297EA6 #8F29A6 #A65029
square
#40A629 #297EA6 #8F29A6 #A65029
split-complementary
#40A629 #5029A6 #A6297E
monochromatic
#1A4411 #2D751D #40A629 #58CF3D #82DB6E

Accessibility & contrast

On white

3.13
#40A629 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#40A629 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A629
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A629#FFFFFF#000000##000000
##40A6291.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970F
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#31A18E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a629;
/* rgb */ color: rgb(64, 166, 41);
/* oklch */ color: oklch(64.1% 0.185 140.4);
Tailwind
colors: {
  custom: {
    50: '#81c16c',
    500: '#40a629',
    950: '#000000',
  },
}
SCSS
$custom: #40a629;
$custom-light: #81c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#40a629",
  "rgb": {
    "r": 64,
    "g": 166,
    "b": 41
  },
  "hsl": {
    "h": 108.96,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64102,
    "c": 0.1855,
    "h": 140.4
  },
  "luminance": 0.28523
}

Semantic roles & 50–950 ramp

primary
#40A629
secondary
#B269C2
accent
#44E4C6
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A629

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

Preview Lab → · Contrast checker → · Palette generator →

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