#40A427#40A427

#40A427 is a light, vivid green. Relative luminance 0.278; OKLCH L 63.6% C 0.184 H 140.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#40A427
RGBrgb(64, 164, 39)
HSLhsl(108, 62%, 40%)
HSVhsv(108, 76%, 64%)
CMYKcmyk(61%, 0%, 76.2%, 35.7%)
CIE-LABlab(59.69, -51.61, 52.54)
CIE-LCHlch(59.69, 73.64, 134.49°)
OKLaboklab(63.55% -0.1416 0.118)
OKLCHoklch(63.55% 0.184 140.2)
XYZxyz(15.7553, 27.7859, 6.4520)
Luminance0.2779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A427 #8B27A4
analogous
#7FA427 #40A427 #27A44D
triadic
#40A427 #2740A4 #A42740
tetradic
#40A427 #277FA4 #8B27A4 #A44D27
square
#40A427 #277FA4 #8B27A4 #A44D27
split-complementary
#40A427 #4D27A4 #A4277F
monochromatic
#19410F #2D731B #40A427 #57D038 #81DC6A

Accessibility & contrast

On white

3.20
#40A427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#40A427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A427
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A427#FFFFFF#000000##000000
##40A4271.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950B
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#329F8C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a427;
/* rgb */ color: rgb(64, 164, 39);
/* oklch */ color: oklch(63.6% 0.184 140.2);
Tailwind
colors: {
  custom: {
    50: '#81c06a',
    500: '#40a427',
    950: '#000000',
  },
}
SCSS
$custom: #40a427;
$custom-light: #81c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#40a427",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 108,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63551,
    "c": 0.18428,
    "h": 140.2
  },
  "luminance": 0.27787
}

Semantic roles & 50–950 ramp

primary
#40A427
secondary
#AF65C2
accent
#43E5C4
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A427

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

Preview Lab → · Contrast checker → · Palette generator →

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