#40B54F#40B54F

#40B54F is a light, vivid green. Relative luminance 0.347; OKLCH L 68.5% C 0.176 H 145.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#40B54F
RGBrgb(64, 181, 79)
HSLhsl(128, 48%, 48%)
HSVhsv(128, 65%, 71%)
CMYKcmyk(64.6%, 0%, 56.4%, 29%)
CIE-LABlab(65.51, -53.72, 41.97)
CIE-LCHlch(65.51, 68.17, 142.00°)
OKLaboklab(68.47% -0.1453 0.0999)
OKLCHoklch(68.47% 0.176 145.5)
XYZxyz(20.0482, 34.7002, 13.0369)
Luminance0.3470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B54F #B540A6
analogous
#6CB540 #40B54F #40B589
triadic
#40B54F #4F40B5 #B54F40
tetradic
#40B54F #406CB5 #B540A6 #B58940
square
#40B54F #406CB5 #B540A6 #B58940
split-complementary
#40B54F #8940B5 #B5406C
monochromatic
#205B28 #30883B #40B54F #68CA75 #96DA9E

Accessibility & contrast

On white

2.64
#40B54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#40B54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B54F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B54F#FFFFFF#000000##000000
##40B54F1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A545
Deuteranopia (green-blind)
#A99B57
Tritanopia (blue-blind)
#21B19E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #40b54f;
/* rgb */ color: rgb(64, 181, 79);
/* oklch */ color: oklch(68.5% 0.176 145.5);
Tailwind
colors: {
  custom: {
    50: '#82cc83',
    500: '#40b54f',
    950: '#000000',
  },
}
SCSS
$custom: #40b54f;
$custom-light: #82cc83;
$custom-dark: #000000;
JSON
{
  "hex": "#40b54f",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 79
  },
  "hsl": {
    "h": 127.692,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68473,
    "c": 0.17629,
    "h": 145.5
  },
  "luminance": 0.34702
}

Semantic roles & 50–950 ramp

primary
#40B54F
secondary
#C58BBE
accent
#50C6D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #40B54F

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

Preview Lab → · Contrast checker → · Palette generator →

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