#40B84C#40B84C

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

Color values

HEX#40B84C
RGBrgb(64, 184, 76)
HSLhsl(126, 48%, 49%)
HSVhsv(126, 65%, 72%)
CMYKcmyk(65.2%, 0%, 58.7%, 27.8%)
CIE-LABlab(66.44, -55.19, 44.46)
CIE-LCHlch(66.44, 70.88, 141.15°)
OKLaboklab(69.22% -0.1494 0.1051)
OKLCHoklch(69.22% 0.183 144.9)
XYZxyz(20.5580, 35.8907, 12.6803)
Luminance0.3589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B84C #B840AC
analogous
#70B840 #40B84C #40B888
triadic
#40B84C #4C40B8 #B84C40
tetradic
#40B84C #4070B8 #B840AC #B88840
square
#40B84C #4070B8 #B840AC #B88840
split-complementary
#40B84C #8840B8 #B84070
monochromatic
#205D26 #308B39 #40B84C #6ACB74 #97DB9E

Accessibility & contrast

On white

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

On black

8.18
#40B84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B84C
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B84C#FFFFFF#000000##000000
##40B84C1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA841
Deuteranopia (green-blind)
#AC9E55
Tritanopia (blue-blind)
#20B3A0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b84c;
/* rgb */ color: rgb(64, 184, 76);
/* oklch */ color: oklch(69.2% 0.183 144.9);
Tailwind
colors: {
  custom: {
    50: '#83ce81',
    500: '#40b84c',
    950: '#000000',
  },
}
SCSS
$custom: #40b84c;
$custom-light: #83ce81;
$custom-dark: #000000;
JSON
{
  "hex": "#40b84c",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 76
  },
  "hsl": {
    "h": 126,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69223,
    "c": 0.18262,
    "h": 144.9
  },
  "luminance": 0.35893
}

Semantic roles & 50–950 ramp

primary
#40B84C
secondary
#C78DC1
accent
#50CAD8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B84C

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

Preview Lab → · Contrast checker → · Palette generator →

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