#40BD4F#40BD4F

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

Color values

HEX#40BD4F
RGBrgb(64, 189, 79)
HSLhsl(127, 49%, 50%)
HSVhsv(127, 66%, 74%)
CMYKcmyk(66.1%, 0%, 58.2%, 25.9%)
CIE-LABlab(68.06, -56.61, 44.96)
CIE-LCHlch(68.06, 72.29, 141.54°)
OKLaboklab(70.57% -0.1531 0.1064)
OKLCHoklch(70.57% 0.186 145.2)
XYZxyz(21.7218, 38.0474, 13.5948)
Luminance0.3805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BD4F #BD40AE
analogous
#70BD40 #40BD4F #40BD8E
triadic
#40BD4F #4F40BD #BD4F40
tetradic
#40BD4F #4070BD #BD40AE #BD8E40
square
#40BD4F #4070BD #BD40AE #BD8E40
split-complementary
#40BD4F #8E40BD #BD4070
monochromatic
#216229 #318F3C #40BD4F #6DCD78 #9ADDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BD4F#FFFFFF#000000##000000
##40BD4F1.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)
#C0AC44
Deuteranopia (green-blind)
#B1A258
Tritanopia (blue-blind)
#1CB8A5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #40bd4f;
/* rgb */ color: rgb(64, 189, 79);
/* oklch */ color: oklch(70.6% 0.186 145.2);
Tailwind
colors: {
  custom: {
    50: '#84d284',
    500: '#40bd4f',
    950: '#000000',
  },
}
SCSS
$custom: #40bd4f;
$custom-light: #84d284;
$custom-dark: #000000;
JSON
{
  "hex": "#40bd4f",
  "rgb": {
    "r": 64,
    "g": 189,
    "b": 79
  },
  "hsl": {
    "h": 127.2,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70572,
    "c": 0.18643,
    "h": 145.2
  },
  "luminance": 0.3805
}

Semantic roles & 50–950 ramp

primary
#40BD4F
secondary
#C990C2
accent
#4FC8D9
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #40BD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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