#40AF3B#40AF3B

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

Color values

HEX#40AF3B
RGBrgb(64, 175, 59)
HSLhsl(117, 50%, 46%)
HSVhsv(117, 66%, 69%)
CMYKcmyk(63.4%, 0%, 66.3%, 31.4%)
CIE-LABlab(63.40, -53.86, 48.61)
CIE-LCHlch(63.40, 72.55, 137.93°)
OKLaboklab(66.66% -0.1465 0.1123)
OKLCHoklch(66.66% 0.185 142.5)
XYZxyz(18.2327, 32.0639, 9.3649)
Luminance0.3207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF3B #AA3BAF
analogous
#7AAF3B #40AF3B #3BAF70
triadic
#40AF3B #3B40AF #AF3B40
tetradic
#40AF3B #3B7AAF #AA3BAF #AF703B
square
#40AF3B #3B7AAF #AA3BAF #AF703B
split-complementary
#40AF3B #703BAF #AF3B7A
monochromatic
#1F531C #2F812C #40AF3B #63C95E #8FD88C

Accessibility & contrast

On white

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

On black

7.41
#40AF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF3B
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF3B#FFFFFF#000000##000000
##40AF3B1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2C
Deuteranopia (green-blind)
#A59645
Tritanopia (blue-blind)
#2AAA97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40af3b;
/* rgb */ color: rgb(64, 175, 59);
/* oklch */ color: oklch(66.7% 0.185 142.5);
Tailwind
colors: {
  custom: {
    50: '#82c876',
    500: '#40af3b',
    950: '#000000',
  },
}
SCSS
$custom: #40af3b;
$custom-light: #82c876;
$custom-dark: #000000;
JSON
{
  "hex": "#40af3b",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 117.414,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.66657,
    "c": 0.18461,
    "h": 142.5
  },
  "luminance": 0.32066
}

Semantic roles & 50–950 ramp

primary
#40AF3B
secondary
#C083C3
accent
#4FD9D3
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40AF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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