#40B754#40B754

#40B754 is a light, vivid green. Relative luminance 0.356; OKLCH L 69.1% C 0.175 H 146.3°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#40B754
RGBrgb(64, 183, 84)
HSLhsl(130, 48%, 48%)
HSVhsv(130, 65%, 72%)
CMYKcmyk(65%, 0%, 54.1%, 28.2%)
CIE-LABlab(66.21, -53.78, 40.39)
CIE-LCHlch(66.21, 67.26, 143.09°)
OKLaboklab(69.07% -0.1453 0.0968)
OKLCHoklch(69.07% 0.175 146.3)
XYZxyz(20.6467, 35.5949, 14.1682)
Luminance0.3560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B754 #B740A3
analogous
#67B740 #40B754 #40B78F
triadic
#40B754 #5440B7 #B75440
tetradic
#40B754 #4067B7 #B740A3 #B78F40
square
#40B754 #4067B7 #B740A3 #B78F40
split-complementary
#40B754 #8F40B7 #B74067
monochromatic
#205C2A #308A3F #40B754 #69CB7A #97DBA2

Accessibility & contrast

On white

2.59
#40B754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#40B754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B754
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B754#FFFFFF#000000##000000
##40B7541.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A74B
Deuteranopia (green-blind)
#AB9D5B
Tritanopia (blue-blind)
#1DB3A1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b754;
/* rgb */ color: rgb(64, 183, 84);
/* oklch */ color: oklch(69.1% 0.175 146.3);
Tailwind
colors: {
  custom: {
    50: '#83ce86',
    500: '#40b754',
    950: '#000000',
  },
}
SCSS
$custom: #40b754;
$custom-light: #83ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#40b754",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 130.084,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69065,
    "c": 0.17456,
    "h": 146.3
  },
  "luminance": 0.35597
}

Semantic roles & 50–950 ramp

primary
#40B754
secondary
#C68DBD
accent
#50C1D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B754

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

Preview Lab → · Contrast checker → · Palette generator →

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