#40A335#40A335

#40A335 is a light, vivid green. Relative luminance 0.275; OKLCH L 63.4% C 0.174 H 141.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#40A335
RGBrgb(64, 163, 53)
HSLhsl(114, 51%, 42%)
HSVhsv(114, 67%, 64%)
CMYKcmyk(60.7%, 0%, 67.5%, 36.1%)
CIE-LABlab(59.47, -50.07, 46.89)
CIE-LCHlch(59.47, 68.60, 136.88°)
OKLaboklab(63.4% -0.1366 0.108)
OKLCHoklch(63.4% 0.174 141.7)
XYZxyz(15.8533, 27.5399, 7.8478)
Luminance0.2754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A335 #9835A3
analogous
#77A335 #40A335 #35A361
triadic
#40A335 #3540A3 #A33540
tetradic
#40A335 #3577A3 #9835A3 #A36135
square
#40A335 #3577A3 #9835A3 #A36135
split-complementary
#40A335 #6135A3 #A33577
monochromatic
#1C4717 #2E7526 #40A335 #5BC64F #86D57E

Accessibility & contrast

On white

3.23
#40A335 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#40A335 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A335
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A335#FFFFFF#000000##000000
##40A3351.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79426
Deuteranopia (green-blind)
#9B8C3F
Tritanopia (blue-blind)
#309E8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a335;
/* rgb */ color: rgb(64, 163, 53);
/* oklch */ color: oklch(63.4% 0.174 141.7);
Tailwind
colors: {
  custom: {
    50: '#80bf72',
    500: '#40a335',
    950: '#000000',
  },
}
SCSS
$custom: #40a335;
$custom-light: #80bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#40a335",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 114,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63398,
    "c": 0.17413,
    "h": 141.7
  },
  "luminance": 0.27541
}

Semantic roles & 50–950 ramp

primary
#40A335
secondary
#B776BE
accent
#4DDACC
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A335

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

Preview Lab → · Contrast checker → · Palette generator →

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