#40A421#40A421

#40A421 is a light, vivid green. Relative luminance 0.278; OKLCH L 63.5% C 0.187 H 139.7°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#40A421
RGBrgb(64, 164, 33)
HSLhsl(106, 66%, 39%)
HSVhsv(106, 80%, 64%)
CMYKcmyk(61%, 0%, 79.9%, 35.7%)
CIE-LABlab(59.66, -52.00, 54.47)
CIE-LCHlch(59.66, 75.31, 133.67°)
OKLaboklab(63.51% -0.1429 0.1212)
OKLCHoklch(63.51% 0.187 139.7)
XYZxyz(15.6636, 27.7493, 5.9693)
Luminance0.2775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A421 #8521A4
analogous
#81A421 #40A421 #21A444
triadic
#40A421 #2140A4 #A42140
tetradic
#40A421 #2181A4 #8521A4 #A44421
square
#40A421 #2181A4 #8521A4 #A44421
split-complementary
#40A421 #4421A4 #A42181
monochromatic
#183E0C #2C7117 #40A421 #55D52D #7EDF60

Accessibility & contrast

On white

3.21
#40A421 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#40A421 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A421
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A421#FFFFFF#000000##000000
##40A4211.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#339E8C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a421;
/* rgb */ color: rgb(64, 164, 33);
/* oklch */ color: oklch(63.5% 0.187 139.7);
Tailwind
colors: {
  custom: {
    50: '#81c068',
    500: '#40a421',
    950: '#000000',
  },
}
SCSS
$custom: #40a421;
$custom-light: #81c068;
$custom-dark: #000000;
JSON
{
  "hex": "#40a421",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 105.802,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63512,
    "c": 0.18737,
    "h": 139.7
  },
  "luminance": 0.27751
}

Semantic roles & 50–950 ramp

primary
#40A421
secondary
#AC5DC4
accent
#3EE9C1
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #40A421

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

Preview Lab → · Contrast checker → · Palette generator →

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