#40AD3F#40AD3F

#40AD3F is a light, vivid green. Relative luminance 0.313; OKLCH L 66.2% C 0.179 H 143.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#40AD3F
RGBrgb(64, 173, 63)
HSLhsl(119, 47%, 46%)
HSVhsv(119, 64%, 68%)
CMYKcmyk(63%, 0%, 63.6%, 32.2%)
CIE-LABlab(62.79, -52.72, 46.20)
CIE-LCHlch(62.79, 70.10, 138.77°)
OKLaboklab(66.17% -0.1432 0.1076)
OKLCHoklch(66.17% 0.179 143.1)
XYZxyz(17.9541, 31.3343, 9.8036)
Luminance0.3134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AD3F #AC3FAD
analogous
#77AD3F #40AD3F #3FAD75
triadic
#40AD3F #3F40AD #AD3F40
tetradic
#40AD3F #3F77AD #AC3FAD #AD753F
square
#40AD3F #3F77AD #AC3FAD #AD753F
split-complementary
#40AD3F #753FAD #AD3F77
monochromatic
#1F531E #2F802F #40AD3F #64C663 #91D790

Accessibility & contrast

On white

2.89
#40AD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#40AD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AD3F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AD3F#FFFFFF#000000##000000
##40AD3F1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D32
Deuteranopia (green-blind)
#A39448
Tritanopia (blue-blind)
#2AA896
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ad3f;
/* rgb */ color: rgb(64, 173, 63);
/* oklch */ color: oklch(66.2% 0.179 143.1);
Tailwind
colors: {
  custom: {
    50: '#82c678',
    500: '#40ad3f',
    950: '#000000',
  },
}
SCSS
$custom: #40ad3f;
$custom-light: #82c678;
$custom-dark: #000000;
JSON
{
  "hex": "#40ad3f",
  "rgb": {
    "r": 64,
    "g": 173,
    "b": 63
  },
  "hsl": {
    "h": 119.455,
    "s": 46.61,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66167,
    "c": 0.17916,
    "h": 143.1
  },
  "luminance": 0.31336
}

Semantic roles & 50–950 ramp

primary
#40AD3F
secondary
#C186C2
accent
#52D6D5
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40AD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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