#40A754#40A754

#40A754 is a light, vivid green. Relative luminance 0.294; OKLCH L 64.9% C 0.153 H 147.3°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#40A754
RGBrgb(64, 167, 84)
HSLhsl(132, 45%, 45%)
HSVhsv(132, 62%, 65%)
CMYKcmyk(61.7%, 0%, 49.7%, 34.5%)
CIE-LABlab(61.10, -47.72, 34.13)
CIE-LCHlch(61.10, 58.67, 144.43°)
OKLaboklab(64.85% -0.129 0.0828)
OKLCHoklch(64.85% 0.153 147.3)
XYZxyz(17.5321, 29.3658, 13.1300)
Luminance0.2937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A754 #A74093
analogous
#60A740 #40A754 #40A787
triadic
#40A754 #5440A7 #A75440
tetradic
#40A754 #4060A7 #A74093 #A78740
square
#40A754 #4060A7 #A74093 #A78740
split-complementary
#40A754 #8740A7 #A74060
monochromatic
#1E4F27 #2F7B3E #40A754 #62C374 #8ED49B

Accessibility & contrast

On white

3.06
#40A754 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#40A754 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A754
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A754#FFFFFF#000000##000000
##40A7541.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9994D
Deuteranopia (green-blind)
#9C905A
Tritanopia (blue-blind)
#25A494
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a754;
/* rgb */ color: rgb(64, 167, 84);
/* oklch */ color: oklch(64.9% 0.153 147.3);
Tailwind
colors: {
  custom: {
    50: '#80c286',
    500: '#40a754',
    950: '#000000',
  },
}
SCSS
$custom: #40a754;
$custom-light: #80c286;
$custom-dark: #000000;
JSON
{
  "hex": "#40a754",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 84
  },
  "hsl": {
    "h": 131.65,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64855,
    "c": 0.15327,
    "h": 147.3
  },
  "luminance": 0.29368
}

Semantic roles & 50–950 ramp

primary
#40A754
secondary
#BF84B3
accent
#54BBD4
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A754

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

Preview Lab → · Contrast checker → · Palette generator →

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