#40A931#40A931

#40A931 is a light, vivid green. Relative luminance 0.297; OKLCH L 65.0% C 0.184 H 141.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#40A931
RGBrgb(64, 169, 49)
HSLhsl(113, 55%, 43%)
HSVhsv(113, 71%, 66%)
CMYKcmyk(62.1%, 0%, 71%, 33.7%)
CIE-LABlab(61.38, -52.63, 50.54)
CIE-LCHlch(61.38, 72.97, 136.16°)
OKLaboklab(64.97% -0.1438 0.1152)
OKLCHoklch(64.97% 0.184 141.3)
XYZxyz(16.8558, 29.6861, 7.7468)
Luminance0.2969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A931 #9A31A9
analogous
#7CA931 #40A931 #31A95E
triadic
#40A931 #3140A9 #A93140
tetradic
#40A931 #317CA9 #9A31A9 #A95E31
square
#40A931 #317CA9 #9A31A9 #A95E31
split-complementary
#40A931 #5E31A9 #A9317C
monochromatic
#1C4A15 #2E7A23 #40A931 #5CCB4C #87D97C

Accessibility & contrast

On white

3.03
#40A931 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#40A931 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A931
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A931#FFFFFF#000000##000000
##40A9311.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A1E
Deuteranopia (green-blind)
#A0913D
Tritanopia (blue-blind)
#2FA491
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #40a931;
/* rgb */ color: rgb(64, 169, 49);
/* oklch */ color: oklch(65.0% 0.184 141.3);
Tailwind
colors: {
  custom: {
    50: '#81c370',
    500: '#40a931',
    950: '#000000',
  },
}
SCSS
$custom: #40a931;
$custom-light: #81c370;
$custom-dark: #000000;
JSON
{
  "hex": "#40a931",
  "rgb": {
    "r": 64,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 112.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.64967,
    "c": 0.1842,
    "h": 141.3
  },
  "luminance": 0.29688
}

Semantic roles & 50–950 ramp

primary
#40A931
secondary
#B874C1
accent
#49DECC
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40A931

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

Preview Lab → · Contrast checker → · Palette generator →

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