#40BA4E#40BA4E

#40BA4E is a light, vivid green. Relative luminance 0.368; OKLCH L 69.8% C 0.183 H 145.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#40BA4E
RGBrgb(64, 186, 78)
HSLhsl(127, 49%, 49%)
HSVhsv(127, 66%, 73%)
CMYKcmyk(65.6%, 0%, 58.1%, 27.1%)
CIE-LABlab(67.09, -55.66, 44.30)
CIE-LCHlch(67.09, 71.14, 141.49°)
OKLaboklab(69.77% -0.1506 0.1049)
OKLCHoklch(69.77% 0.183 145.1)
XYZxyz(21.0470, 36.7557, 13.1916)
Luminance0.3676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA4E #BA40AC
analogous
#6FBA40 #40BA4E #40BA8B
triadic
#40BA4E #4E40BA #BA4E40
tetradic
#40BA4E #406FBA #BA40AC #BA8B40
square
#40BA4E #406FBA #BA40AC #BA8B40
split-complementary
#40BA4E #8B40BA #BA406F
monochromatic
#215F28 #308C3B #40BA4E #6BCC76 #99DCA0

Accessibility & contrast

On white

2.51
#40BA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#40BA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA4E
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA4E#FFFFFF#000000##000000
##40BA4E1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA43
Deuteranopia (green-blind)
#AE9F57
Tritanopia (blue-blind)
#1EB5A2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba4e;
/* rgb */ color: rgb(64, 186, 78);
/* oklch */ color: oklch(69.8% 0.183 145.1);
Tailwind
colors: {
  custom: {
    50: '#83d083',
    500: '#40ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #40ba4e;
$custom-light: #83d083;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba4e",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 126.885,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69773,
    "c": 0.18349,
    "h": 145.1
  },
  "luminance": 0.36758
}

Semantic roles & 50–950 ramp

primary
#40BA4E
secondary
#C88EC1
accent
#4FC9D8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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