#40AA3B#40AA3B

#40AA3B is a light, vivid green. Relative luminance 0.302; OKLCH L 65.3% C 0.178 H 142.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#40AA3B
RGBrgb(64, 170, 59)
HSLhsl(117, 48%, 45%)
HSVhsv(117, 65%, 67%)
CMYKcmyk(62.4%, 0%, 65.3%, 33.3%)
CIE-LABlab(61.79, -52.05, 46.84)
CIE-LCHlch(61.79, 70.02, 138.01°)
OKLaboklab(65.33% -0.1416 0.1086)
OKLCHoklch(65.33% 0.178 142.5)
XYZxyz(17.2776, 30.1535, 9.0465)
Luminance0.3015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AA3B #A53BAA
analogous
#78AA3B #40AA3B #3BAA6D
triadic
#40AA3B #3B40AA #AA3B40
tetradic
#40AA3B #3B78AA #A53BAA #AA6D3B
square
#40AA3B #3B78AA #A53BAA #AA6D3B
split-complementary
#40AA3B #6D3BAA #AA3B78
monochromatic
#1E4F1B #2F7D2B #40AA3B #61C65C #8DD689

Accessibility & contrast

On white

2.99
#40AA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#40AA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AA3B
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AA3B#FFFFFF#000000##000000
##40AA3B1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2D
Deuteranopia (green-blind)
#A19245
Tritanopia (blue-blind)
#2CA593
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40aa3b;
/* rgb */ color: rgb(64, 170, 59);
/* oklch */ color: oklch(65.3% 0.178 142.5);
Tailwind
colors: {
  custom: {
    50: '#81c476',
    500: '#40aa3b',
    950: '#000000',
  },
}
SCSS
$custom: #40aa3b;
$custom-light: #81c476;
$custom-dark: #000000;
JSON
{
  "hex": "#40aa3b",
  "rgb": {
    "r": 64,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 117.297,
    "s": 48.472,
    "l": 44.902
  },
  "oklch": {
    "l": 0.65327,
    "c": 0.17845,
    "h": 142.5
  },
  "luminance": 0.30155
}

Semantic roles & 50–950 ramp

primary
#40AA3B
secondary
#BE80C0
accent
#50D8D2
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #40AA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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