#40A431#40A431

#40A431 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.6% C 0.178 H 141.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#40A431
RGBrgb(64, 164, 49)
HSLhsl(112, 54%, 42%)
HSVhsv(112, 70%, 64%)
CMYKcmyk(61%, 0%, 70.1%, 35.7%)
CIE-LABlab(59.76, -50.81, 48.85)
CIE-LCHlch(59.76, 70.49, 136.13°)
OKLaboklab(63.63% -0.1388 0.1116)
OKLCHoklch(63.63% 0.178 141.2)
XYZxyz(15.9434, 27.8612, 7.4427)
Luminance0.2786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A431 #9531A4
analogous
#7AA431 #40A431 #31A45C
triadic
#40A431 #3140A4 #A43140
tetradic
#40A431 #317AA4 #9531A4 #A45C31
square
#40A431 #317AA4 #9531A4 #A45C31
split-complementary
#40A431 #5C31A4 #A4317A
monochromatic
#1B4615 #2E7523 #40A431 #5AC949 #85D779

Accessibility & contrast

On white

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

On black

6.57
#40A431 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A431
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A431#FFFFFF#000000##000000
##40A4311.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89520
Deuteranopia (green-blind)
#9C8D3C
Tritanopia (blue-blind)
#319F8D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a431;
/* rgb */ color: rgb(64, 164, 49);
/* oklch */ color: oklch(63.6% 0.178 141.2);
Tailwind
colors: {
  custom: {
    50: '#81c06f',
    500: '#40a431',
    950: '#000000',
  },
}
SCSS
$custom: #40a431;
$custom-light: #81c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#40a431",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 112.174,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63629,
    "c": 0.17815,
    "h": 141.2
  },
  "luminance": 0.27863
}

Semantic roles & 50–950 ramp

primary
#40A431
secondary
#B572BF
accent
#4ADDCA
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A431

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

Preview Lab → · Contrast checker → · Palette generator →

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