#40B84A#40B84A

#40B84A is a light, vivid green. Relative luminance 0.359; OKLCH L 69.2% C 0.184 H 144.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#40B84A
RGBrgb(64, 184, 74)
HSLhsl(125, 48%, 49%)
HSVhsv(125, 65%, 72%)
CMYKcmyk(65.2%, 0%, 59.8%, 27.8%)
CIE-LABlab(66.42, -55.44, 45.36)
CIE-LCHlch(66.42, 71.63, 140.71°)
OKLaboklab(69.2% -0.1501 0.1069)
OKLCHoklch(69.2% 0.184 144.6)
XYZxyz(20.4896, 35.8633, 12.3197)
Luminance0.3587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B84A #B840AE
analogous
#72B840 #40B84A #40B886
triadic
#40B84A #4A40B8 #B84A40
tetradic
#40B84A #4072B8 #B840AE #B88640
square
#40B84A #4072B8 #B840AE #B88640
split-complementary
#40B84A #8640B8 #B84072
monochromatic
#205D25 #308B38 #40B84A #6ACB72 #97DB9D

Accessibility & contrast

On white

2.57
#40B84A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#40B84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B84A
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B84A#FFFFFF#000000##000000
##40B84A1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA83E
Deuteranopia (green-blind)
#AD9E53
Tritanopia (blue-blind)
#21B3A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b84a;
/* rgb */ color: rgb(64, 184, 74);
/* oklch */ color: oklch(69.2% 0.184 144.6);
Tailwind
colors: {
  custom: {
    50: '#83ce80',
    500: '#40b84a',
    950: '#000000',
  },
}
SCSS
$custom: #40b84a;
$custom-light: #83ce80;
$custom-dark: #000000;
JSON
{
  "hex": "#40b84a",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 74
  },
  "hsl": {
    "h": 125,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69199,
    "c": 0.18425,
    "h": 144.6
  },
  "luminance": 0.35865
}

Semantic roles & 50–950 ramp

primary
#40B84A
secondary
#C78DC2
accent
#50CDD8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40B84A

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

Preview Lab → · Contrast checker → · Palette generator →

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