#40AF41#40AF41

#40AF41 is a light, vivid green. Relative luminance 0.321; OKLCH L 66.7% C 0.180 H 143.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#40AF41
RGBrgb(64, 175, 65)
HSLhsl(121, 46%, 47%)
HSVhsv(121, 63%, 69%)
CMYKcmyk(63.4%, 0%, 62.9%, 31.4%)
CIE-LABlab(63.45, -53.23, 46.05)
CIE-LCHlch(63.45, 70.39, 139.13°)
OKLaboklab(66.72% -0.1445 0.1075)
OKLCHoklch(66.72% 0.18 143.4)
XYZxyz(18.3974, 32.1298, 10.2321)
Luminance0.3213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF41 #AF40AE
analogous
#76AF40 #40AF41 #40AF79
triadic
#40AF41 #4140AF #AF4140
tetradic
#40AF41 #4076AF #AF40AE #AF7940
square
#40AF41 #4076AF #AF40AE #AF7940
split-complementary
#40AF41 #7940AF #AF4076
monochromatic
#1F5520 #308230 #40AF41 #65C766 #92D793

Accessibility & contrast

On white

2.83
#40AF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#40AF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF41
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF41#FFFFFF#000000##000000
##40AF411.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F34
Deuteranopia (green-blind)
#A5964A
Tritanopia (blue-blind)
#29AA98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40af41;
/* rgb */ color: rgb(64, 175, 65);
/* oklch */ color: oklch(66.7% 0.180 143.4);
Tailwind
colors: {
  custom: {
    50: '#82c87a',
    500: '#40af41',
    950: '#000000',
  },
}
SCSS
$custom: #40af41;
$custom-light: #82c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#40af41",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 120.541,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.6672,
    "c": 0.18012,
    "h": 143.4
  },
  "luminance": 0.32132
}

Semantic roles & 50–950 ramp

primary
#40AF41
secondary
#C388C2
accent
#52D5D6
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40AF41

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

Preview Lab → · Contrast checker → · Palette generator →

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