#40A328#40A328

#40A328 is a light, vivid green. Relative luminance 0.274; OKLCH L 63.3% C 0.183 H 140.3°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#40A328
RGBrgb(64, 163, 40)
HSLhsl(108, 61%, 40%)
HSVhsv(108, 75%, 64%)
CMYKcmyk(60.7%, 0%, 75.5%, 36.1%)
CIE-LABlab(59.38, -51.17, 51.87)
CIE-LCHlch(59.38, 72.86, 134.61°)
OKLaboklab(63.29% -0.1403 0.1167)
OKLCHoklch(63.29% 0.183 140.3)
XYZxyz(15.5938, 27.4361, 6.4810)
Luminance0.2744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A328 #8B28A3
analogous
#7DA328 #40A328 #28A34E
triadic
#40A328 #2840A3 #A32840
tetradic
#40A328 #287DA3 #8B28A3 #A34E28
square
#40A328 #287DA3 #8B28A3 #A34E28
split-complementary
#40A328 #4E28A3 #A3287D
monochromatic
#194110 #2D721C #40A328 #57CF3A #81DB6B

Accessibility & contrast

On white

3.24
#40A328 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#40A328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A328
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A328#FFFFFF#000000##000000
##40A3281.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7940E
Deuteranopia (green-blind)
#9B8C35
Tritanopia (blue-blind)
#329E8B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a328;
/* rgb */ color: rgb(64, 163, 40);
/* oklch */ color: oklch(63.3% 0.183 140.3);
Tailwind
colors: {
  custom: {
    50: '#81bf6b',
    500: '#40a328',
    950: '#000000',
  },
}
SCSS
$custom: #40a328;
$custom-light: #81bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#40a328",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 108.293,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63289,
    "c": 0.18253,
    "h": 140.3
  },
  "luminance": 0.27438
}

Semantic roles & 50–950 ramp

primary
#40A328
secondary
#AF66C1
accent
#44E4C5
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A328

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

Preview Lab → · Contrast checker → · Palette generator →

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