#40A332#40A332

#40A332 is a light, vivid green. Relative luminance 0.275; OKLCH L 63.4% C 0.176 H 141.3°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#40A332
RGBrgb(64, 163, 50)
HSLhsl(113, 53%, 42%)
HSVhsv(113, 69%, 64%)
CMYKcmyk(60.7%, 0%, 69.3%, 36.1%)
CIE-LABlab(59.45, -50.36, 48.11)
CIE-LCHlch(59.45, 69.65, 136.31°)
OKLaboklab(63.37% -0.1375 0.1102)
OKLCHoklch(63.37% 0.176 141.3)
XYZxyz(15.7865, 27.5132, 7.4957)
Luminance0.2752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A332 #9532A3
analogous
#79A332 #40A332 #32A35C
triadic
#40A332 #3240A3 #A33240
tetradic
#40A332 #3279A3 #9532A3 #A35C32
square
#40A332 #3279A3 #9532A3 #A35C32
split-complementary
#40A332 #5C32A3 #A33279
monochromatic
#1B4515 #2E7424 #40A332 #5AC84B #85D679

Accessibility & contrast

On white

3.23
#40A332 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#40A332 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A332
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A332#FFFFFF#000000##000000
##40A3321.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79422
Deuteranopia (green-blind)
#9B8C3D
Tritanopia (blue-blind)
#319E8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a332;
/* rgb */ color: rgb(64, 163, 50);
/* oklch */ color: oklch(63.4% 0.176 141.3);
Tailwind
colors: {
  custom: {
    50: '#80bf70',
    500: '#40a332',
    950: '#000000',
  },
}
SCSS
$custom: #40a332;
$custom-light: #80bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#40a332",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 112.566,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6337,
    "c": 0.17624,
    "h": 141.3
  },
  "luminance": 0.27515
}

Semantic roles & 50–950 ramp

primary
#40A332
secondary
#B572BF
accent
#4BDCCA
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A332

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

Preview Lab → · Contrast checker → · Palette generator →

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