#40AF35#40AF35

#40AF35 is a light, vivid green. Relative luminance 0.320; OKLCH L 66.6% C 0.189 H 141.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#40AF35
RGBrgb(64, 175, 53)
HSLhsl(115, 54%, 45%)
HSVhsv(115, 70%, 69%)
CMYKcmyk(63.4%, 0%, 69.7%, 31.4%)
CIE-LABlab(63.35, -54.43, 51.02)
CIE-LCHlch(63.35, 74.60, 136.85°)
OKLaboklab(66.6% -0.1484 0.1167)
OKLCHoklch(66.6% 0.189 141.8)
XYZxyz(18.0860, 32.0052, 8.5920)
Luminance0.3201 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AF35 #A435AF
analogous
#7DAF35 #40AF35 #35AF67
triadic
#40AF35 #3540AF #AF3540
tetradic
#40AF35 #357DAF #A435AF #AF6735
square
#40AF35 #357DAF #A435AF #AF6735
split-complementary
#40AF35 #6735AF #AF357D
monochromatic
#1E5119 #2F8027 #40AF35 #60CC56 #8CDA85

Accessibility & contrast

On white

2.84
#40AF35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#40AF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AF35
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AF35#FFFFFF#000000##000000
##40AF351.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F23
Deuteranopia (green-blind)
#A69641
Tritanopia (blue-blind)
#2CAA97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #40af35;
/* rgb */ color: rgb(64, 175, 53);
/* oklch */ color: oklch(66.6% 0.189 141.8);
Tailwind
colors: {
  custom: {
    50: '#82c873',
    500: '#40af35',
    950: '#000000',
  },
}
SCSS
$custom: #40af35;
$custom-light: #82c873;
$custom-dark: #000000;
JSON
{
  "hex": "#40af35",
  "rgb": {
    "r": 64,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 114.59,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.66602,
    "c": 0.18876,
    "h": 141.8
  },
  "luminance": 0.32007
}

Semantic roles & 50–950 ramp

primary
#40AF35
secondary
#BD7CC4
accent
#4BDDD0
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40AF35

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

Preview Lab → · Contrast checker → · Palette generator →

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