#40AA3F#40AA3F

#40AA3F is a light, vivid green. Relative luminance 0.302; OKLCH L 65.4% C 0.175 H 143.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#40AA3F
RGBrgb(64, 170, 63)
HSLhsl(119, 46%, 46%)
HSVhsv(119, 63%, 67%)
CMYKcmyk(62.4%, 0%, 62.9%, 33.3%)
CIE-LABlab(61.82, -51.62, 45.12)
CIE-LCHlch(61.82, 68.56, 138.84°)
OKLaboklab(65.37% -0.1403 0.1053)
OKLCHoklch(65.37% 0.175 143.1)
XYZxyz(17.3853, 30.1966, 9.6140)
Luminance0.3020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA3F #A93FAA
analogous
#75AA3F #40AA3F #3FAA73
triadic
#40AA3F #3F40AA #AA3F40
tetradic
#40AA3F #3F75AA #A93FAA #AA733F
square
#40AA3F #3F75AA #A93FAA #AA733F
split-complementary
#40AA3F #733FAA #AA3F75
monochromatic
#1E511E #2F7D2E #40AA3F #62C562 #8FD58E

Accessibility & contrast

On white

2.98
#40AA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#40AA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA3F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA3F#FFFFFF#000000##000000
##40AA3F1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B33
Deuteranopia (green-blind)
#A09248
Tritanopia (blue-blind)
#2BA593
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40aa3f;
/* rgb */ color: rgb(64, 170, 63);
/* oklch */ color: oklch(65.4% 0.175 143.1);
Tailwind
colors: {
  custom: {
    50: '#81c478',
    500: '#40aa3f',
    950: '#000000',
  },
}
SCSS
$custom: #40aa3f;
$custom-light: #81c478;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa3f",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 63
  },
  "hsl": {
    "h": 119.439,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.6537,
    "c": 0.1754,
    "h": 143.1
  },
  "luminance": 0.30198
}

Semantic roles & 50–950 ramp

primary
#40AA3F
secondary
#C085C0
accent
#52D6D4
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #40AA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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