#40AD2F#40AD2F

#40AD2F is a light, vivid green. Relative luminance 0.312; OKLCH L 66.0% C 0.190 H 141.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#40AD2F
RGBrgb(64, 173, 47)
HSLhsl(112, 57%, 43%)
HSVhsv(112, 73%, 68%)
CMYKcmyk(63%, 0%, 72.8%, 32.2%)
CIE-LABlab(62.66, -54.22, 52.62)
CIE-LCHlch(62.66, 75.56, 135.86°)
OKLaboklab(66.02% -0.1482 0.1192)
OKLCHoklch(66.02% 0.19 141.2)
XYZxyz(17.5701, 31.1807, 7.7813)
Luminance0.3118 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AD2F #9C2FAD
analogous
#7FAD2F #40AD2F #2FAD5D
triadic
#40AD2F #2F40AD #AD2F40
tetradic
#40AD2F #2F7FAD #9C2FAD #AD5D2F
square
#40AD2F #2F7FAD #9C2FAD #AD5D2F
split-complementary
#40AD2F #5D2FAD #AD2F7F
monochromatic
#1C4D15 #2E7D22 #40AD2F #5DCE4B #88DB7B

Accessibility & contrast

On white

2.90
#40AD2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#40AD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AD2F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AD2F#FFFFFF#000000##000000
##40AD2F1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D19
Deuteranopia (green-blind)
#A4943C
Tritanopia (blue-blind)
#2EA894
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #40ad2f;
/* rgb */ color: rgb(64, 173, 47);
/* oklch */ color: oklch(66.0% 0.190 141.2);
Tailwind
colors: {
  custom: {
    50: '#82c66f',
    500: '#40ad2f',
    950: '#000000',
  },
}
SCSS
$custom: #40ad2f;
$custom-light: #82c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#40ad2f",
  "rgb": {
    "r": 64,
    "g": 173,
    "b": 47
  },
  "hsl": {
    "h": 111.905,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66019,
    "c": 0.1902,
    "h": 141.2
  },
  "luminance": 0.31182
}

Semantic roles & 50–950 ramp

primary
#40AD2F
secondary
#B974C4
accent
#47E1CC
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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