#40A524#40A524

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

Color values

HEX#40A524
RGBrgb(64, 165, 36)
HSLhsl(107, 64%, 39%)
HSVhsv(107, 78%, 65%)
CMYKcmyk(61.2%, 0%, 78.2%, 35.3%)
CIE-LABlab(60.00, -52.17, 53.85)
CIE-LCHlch(60.00, 74.97, 134.09°)
OKLaboklab(63.8% -0.1432 0.1203)
OKLCHoklch(63.8% 0.187 140)
XYZxyz(15.8872, 28.1262, 6.2604)
Luminance0.2813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A524 #8924A5
analogous
#81A524 #40A524 #24A549
triadic
#40A524 #2440A5 #A52440
tetradic
#40A524 #2481A5 #8924A5 #A54924
square
#40A524 #2481A5 #8924A5 #A54924
split-complementary
#40A524 #4924A5 #A52481
monochromatic
#19410E #2D7319 #40A524 #56D334 #80DE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A524#FFFFFF#000000##000000
##40A5241.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)
#AA9601
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#329F8D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a524;
/* rgb */ color: rgb(64, 165, 36);
/* oklch */ color: oklch(63.8% 0.187 140.0);
Tailwind
colors: {
  custom: {
    50: '#81c169',
    500: '#40a524',
    950: '#000000',
  },
}
SCSS
$custom: #40a524;
$custom-light: #81c169;
$custom-dark: #000000;
JSON
{
  "hex": "#40a524",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 36
  },
  "hsl": {
    "h": 106.977,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63799,
    "c": 0.18704,
    "h": 140
  },
  "luminance": 0.28128
}

Semantic roles & 50–950 ramp

primary
#40A524
secondary
#AE62C3
accent
#41E7C3
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #40A524

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

Preview Lab → · Contrast checker → · Palette generator →

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