#40AF32#40AF32

#40AF32 is a light, vivid green. Relative luminance 0.320; OKLCH L 66.6% C 0.191 H 141.5°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#40AF32
RGBrgb(64, 175, 50)
HSLhsl(113, 56%, 44%)
HSVhsv(113, 71%, 69%)
CMYKcmyk(63.4%, 0%, 71.4%, 31.4%)
CIE-LABlab(63.33, -54.69, 52.17)
CIE-LCHlch(63.33, 75.58, 136.35°)
OKLaboklab(66.58% -0.1493 0.1187)
OKLCHoklch(66.58% 0.191 141.5)
XYZxyz(18.0191, 31.9785, 8.2399)
Luminance0.3198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF32 #A132AF
analogous
#7FAF32 #40AF32 #32AF63
triadic
#40AF32 #3240AF #AF3240
tetradic
#40AF32 #327FAF #A132AF #AF6332
square
#40AF32 #327FAF #A132AF #AF6332
split-complementary
#40AF32 #6332AF #AF327F
monochromatic
#1D5017 #2F7F24 #40AF32 #5FCD51 #8BDB81

Accessibility & contrast

On white

2.84
#40AF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#40AF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF32
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF32#FFFFFF#000000##000000
##40AF321.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1E
Deuteranopia (green-blind)
#A6963E
Tritanopia (blue-blind)
#2DAA96
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40af32;
/* rgb */ color: rgb(64, 175, 50);
/* oklch */ color: oklch(66.6% 0.191 141.5);
Tailwind
colors: {
  custom: {
    50: '#83c871',
    500: '#40af32',
    950: '#000000',
  },
}
SCSS
$custom: #40af32;
$custom-light: #83c871;
$custom-dark: #000000;
JSON
{
  "hex": "#40af32",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 113.28,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66576,
    "c": 0.1907,
    "h": 141.5
  },
  "luminance": 0.3198
}

Semantic roles & 50–950 ramp

primary
#40AF32
secondary
#BC79C4
accent
#49DFCE
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AF32

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

Preview Lab → · Contrast checker → · Palette generator →

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