#40BD4E#40BD4E

#40BD4E is a light, vivid green. Relative luminance 0.380; OKLCH L 70.6% C 0.187 H 145.0°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#40BD4E
RGBrgb(64, 189, 78)
HSLhsl(127, 49%, 50%)
HSVhsv(127, 66%, 74%)
CMYKcmyk(66.1%, 0%, 58.7%, 25.9%)
CIE-LABlab(68.04, -56.74, 45.41)
CIE-LCHlch(68.04, 72.67, 141.33°)
OKLaboklab(70.56% -0.1535 0.1073)
OKLCHoklch(70.56% 0.187 145)
XYZxyz(21.6857, 38.0330, 13.4045)
Luminance0.3804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BD4E #BD40AF
analogous
#71BD40 #40BD4E #40BD8D
triadic
#40BD4E #4E40BD #BD4E40
tetradic
#40BD4E #4071BD #BD40AF #BD8D40
square
#40BD4E #4071BD #BD40AF #BD8D40
split-complementary
#40BD4E #8D40BD #BD4071
monochromatic
#216228 #318F3B #40BD4E #6DCD78 #9ADDA2

Accessibility & contrast

On white

2.44
#40BD4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#40BD4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BD4E
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BD4E#FFFFFF#000000##000000
##40BD4E1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC43
Deuteranopia (green-blind)
#B1A257
Tritanopia (blue-blind)
#1CB8A5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #40bd4e;
/* rgb */ color: rgb(64, 189, 78);
/* oklch */ color: oklch(70.6% 0.187 145.0);
Tailwind
colors: {
  custom: {
    50: '#84d283',
    500: '#40bd4e',
    950: '#000000',
  },
}
SCSS
$custom: #40bd4e;
$custom-light: #84d283;
$custom-dark: #000000;
JSON
{
  "hex": "#40bd4e",
  "rgb": {
    "r": 64,
    "g": 189,
    "b": 78
  },
  "hsl": {
    "h": 126.72,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7056,
    "c": 0.18725,
    "h": 145
  },
  "luminance": 0.38035
}

Semantic roles & 50–950 ramp

primary
#40BD4E
secondary
#C990C3
accent
#4FC9D9
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40BD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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