#40A426#40A426

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

Color values

HEX#40A426
RGBrgb(64, 164, 38)
HSLhsl(108, 62%, 40%)
HSVhsv(108, 77%, 64%)
CMYKcmyk(61%, 0%, 76.8%, 35.7%)
CIE-LABlab(59.69, -51.68, 52.87)
CIE-LCHlch(59.69, 73.93, 134.34°)
OKLaboklab(63.54% -0.1418 0.1185)
OKLCHoklch(63.54% 0.185 140.1)
XYZxyz(15.7389, 27.7794, 6.3659)
Luminance0.2778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A426 #8A26A4
analogous
#7FA426 #40A426 #26A44B
triadic
#40A426 #2640A4 #A42640
tetradic
#40A426 #267FA4 #8A26A4 #A44B26
square
#40A426 #267FA4 #8A26A4 #A44B26
split-complementary
#40A426 #4B26A4 #A4267F
monochromatic
#19410F #2D721A #40A426 #56D137 #80DC68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A426#FFFFFF#000000##000000
##40A4261.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)
#A99508
Deuteranopia (green-blind)
#9C8D34
Tritanopia (blue-blind)
#329F8C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a426;
/* rgb */ color: rgb(64, 164, 38);
/* oklch */ color: oklch(63.5% 0.185 140.1);
Tailwind
colors: {
  custom: {
    50: '#81c06a',
    500: '#40a426',
    950: '#000000',
  },
}
SCSS
$custom: #40a426;
$custom-light: #81c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#40a426",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 38
  },
  "hsl": {
    "h": 107.619,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63544,
    "c": 0.18482,
    "h": 140.1
  },
  "luminance": 0.27781
}

Semantic roles & 50–950 ramp

primary
#40A426
secondary
#AF64C2
accent
#42E5C4
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A426

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

Preview Lab → · Contrast checker → · Palette generator →

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