#40AA31#40AA31

#40AA31 is a light, vivid green. Relative luminance 0.301; OKLCH L 65.2% C 0.185 H 141.3°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#40AA31
RGBrgb(64, 170, 49)
HSLhsl(113, 55%, 43%)
HSVhsv(113, 71%, 67%)
CMYKcmyk(62.4%, 0%, 71.2%, 33.3%)
CIE-LABlab(61.71, -52.99, 50.88)
CIE-LCHlch(61.71, 73.46, 136.16°)
OKLaboklab(65.23% -0.1447 0.1159)
OKLCHoklch(65.23% 0.185 141.3)
XYZxyz(17.0426, 30.0596, 7.8091)
Luminance0.3006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA31 #9B31AA
analogous
#7CAA31 #40AA31 #31AA5E
triadic
#40AA31 #3140AA #AA3140
tetradic
#40AA31 #317CAA #9B31AA #AA5E31
square
#40AA31 #317CAA #9B31AA #AA5E31
split-complementary
#40AA31 #5E31AA #AA317C
monochromatic
#1C4B16 #2E7A23 #40AA31 #5CCC4D #88D97C

Accessibility & contrast

On white

2.99
#40AA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#40AA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA31
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA31#FFFFFF#000000##000000
##40AA311.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1E
Deuteranopia (green-blind)
#A1923D
Tritanopia (blue-blind)
#2FA592
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40aa31;
/* rgb */ color: rgb(64, 170, 49);
/* oklch */ color: oklch(65.2% 0.185 141.3);
Tailwind
colors: {
  custom: {
    50: '#82c470',
    500: '#40aa31',
    950: '#000000',
  },
}
SCSS
$custom: #40aa31;
$custom-light: #82c470;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa31",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 112.562,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65234,
    "c": 0.18539,
    "h": 141.3
  },
  "luminance": 0.30061
}

Semantic roles & 50–950 ramp

primary
#40AA31
secondary
#B875C2
accent
#49DFCC
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AA31

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

Preview Lab → · Contrast checker → · Palette generator →

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