#40A129#40A129

#40A129 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.8% C 0.180 H 140.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#40A129
RGBrgb(64, 161, 41)
HSLhsl(109, 59%, 40%)
HSVhsv(109, 75%, 63%)
CMYKcmyk(60.2%, 0%, 74.5%, 36.9%)
CIE-LABlab(58.73, -50.37, 50.87)
CIE-LCHlch(58.73, 71.59, 134.72°)
OKLaboklab(62.76% -0.1381 0.1148)
OKLCHoklch(62.76% 0.18 140.3)
XYZxyz(15.2588, 26.7384, 6.4543)
Luminance0.2674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A129 #8A29A1
analogous
#7CA129 #40A129 #29A14E
triadic
#40A129 #2940A1 #A12940
tetradic
#40A129 #297CA1 #8A29A1 #A14E29
square
#40A129 #297CA1 #8A29A1 #A14E29
split-complementary
#40A129 #4E29A1 #A1297C
monochromatic
#193F10 #2D701D #40A129 #56CD3A #80D96B

Accessibility & contrast

On white

3.31
#40A129 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#40A129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A129
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A129#FFFFFF#000000##000000
##40A1291.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59212
Deuteranopia (green-blind)
#998A35
Tritanopia (blue-blind)
#339C8A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a129;
/* rgb */ color: rgb(64, 161, 41);
/* oklch */ color: oklch(62.8% 0.180 140.3);
Tailwind
colors: {
  custom: {
    50: '#80be6b',
    500: '#40a129',
    950: '#000000',
  },
}
SCSS
$custom: #40a129;
$custom-light: #80be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#40a129",
  "rgb": {
    "r": 64,
    "g": 161,
    "b": 41
  },
  "hsl": {
    "h": 108.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62758,
    "c": 0.17957,
    "h": 140.3
  },
  "luminance": 0.2674
}

Semantic roles & 50–950 ramp

primary
#40A129
secondary
#AF66C0
accent
#45E3C4
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A129

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

Preview Lab → · Contrast checker → · Palette generator →

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