#40A94E#40A94E

#40A94E is a light, vivid green. Relative luminance 0.300; OKLCH L 65.3% C 0.161 H 145.8°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#40A94E
RGBrgb(64, 169, 78)
HSLhsl(128, 45%, 46%)
HSVhsv(128, 62%, 66%)
CMYKcmyk(62.1%, 0%, 53.8%, 33.7%)
CIE-LABlab(61.67, -49.37, 37.84)
CIE-LCHlch(61.67, 62.20, 142.53°)
OKLaboklab(65.29% -0.1336 0.0907)
OKLCHoklch(65.29% 0.161 145.8)
XYZxyz(17.6763, 30.0143, 12.0681)
Luminance0.3002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A94E #A9409B
analogous
#66A940 #40A94E #40A982
triadic
#40A94E #4E40A9 #A94E40
tetradic
#40A94E #4066A9 #A9409B #A98240
square
#40A94E #4066A9 #A9409B #A98240
split-complementary
#40A94E #8240A9 #A94066
monochromatic
#1E5025 #2F7D3A #40A94E #62C46F #8FD598

Accessibility & contrast

On white

3.00
#40A94E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#40A94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A94E
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A94E#FFFFFF#000000##000000
##40A94E1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A46
Deuteranopia (green-blind)
#9E9155
Tritanopia (blue-blind)
#27A594
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #40a94e;
/* rgb */ color: rgb(64, 169, 78);
/* oklch */ color: oklch(65.3% 0.161 145.8);
Tailwind
colors: {
  custom: {
    50: '#80c382',
    500: '#40a94e',
    950: '#000000',
  },
}
SCSS
$custom: #40a94e;
$custom-light: #80c382;
$custom-dark: #000000;
JSON
{
  "hex": "#40a94e",
  "rgb": {
    "r": 64,
    "g": 169,
    "b": 78
  },
  "hsl": {
    "h": 128,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.65293,
    "c": 0.16147,
    "h": 145.8
  },
  "luminance": 0.30016
}

Semantic roles & 50–950 ramp

primary
#40A94E
secondary
#C085B8
accent
#53C3D5
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #40A94E

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

Preview Lab → · Contrast checker → · Palette generator →

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