#40D845#40D845

#40D845 is a light, highly saturated green. Relative luminance 0.506; OKLCH L 77.5% C 0.226 H 143.4°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#40D845
RGBrgb(64, 216, 69)
HSLhsl(122, 66%, 55%)
HSVhsv(122, 70%, 85%)
CMYKcmyk(70.4%, 0%, 68.1%, 15.3%)
CIE-LABlab(76.45, -66.84, 58.60)
CIE-LCHlch(76.45, 88.89, 138.75°)
OKLaboklab(77.5% -0.1812 0.1345)
OKLCHoklch(77.5% 0.226 143.4)
XYZxyz(27.7427, 50.6283, 13.9392)
Luminance0.5063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D845 #D840D3
analogous
#87D840 #40D845 #40D891
triadic
#40D845 #4540D8 #D84540
tetradic
#40D845 #4087D8 #D840D3 #D89140
square
#40D845 #4087D8 #D840D3 #D89140
split-complementary
#40D845 #9140D8 #D84087
monochromatic
#1B831E #25B62A #40D845 #73E276 #A6EDA8

Accessibility & contrast

On white

1.89
#40D845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#40D845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D845
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D845#FFFFFF#000000##000000
##40D8451.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC430
Deuteranopia (green-blind)
#CBB853
Tritanopia (blue-blind)
#03D2BA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #40d845;
/* rgb */ color: rgb(64, 216, 69);
/* oklch */ color: oklch(77.5% 0.226 143.4);
Tailwind
colors: {
  custom: {
    50: '#8ae580',
    500: '#40d845',
    950: '#000000',
  },
}
SCSS
$custom: #40d845;
$custom-light: #8ae580;
$custom-dark: #000000;
JSON
{
  "hex": "#40d845",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 69
  },
  "hsl": {
    "h": 121.974,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77497,
    "c": 0.22566,
    "h": 143.4
  },
  "luminance": 0.50631
}

Semantic roles & 50–950 ramp

primary
#40D845
secondary
#8A3387
accent
#3FE3E9
background
#FCFEFB
surface
#F4FCF2
border
#CED5CC
text
#0D160B
muted
#7F847E

Preview Lab

Preview with #40D845

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

Preview Lab → · Contrast checker → · Palette generator →

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