#40B84B#40B84B

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

Color values

HEX#40B84B
RGBrgb(64, 184, 75)
HSLhsl(126, 48%, 49%)
HSVhsv(126, 65%, 72%)
CMYKcmyk(65.2%, 0%, 59.2%, 27.8%)
CIE-LABlab(66.43, -55.32, 44.91)
CIE-LCHlch(66.43, 71.25, 140.93°)
OKLaboklab(69.21% -0.1497 0.106)
OKLCHoklch(69.21% 0.183 144.7)
XYZxyz(20.5235, 35.8769, 12.4986)
Luminance0.3588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B84B #B840AD
analogous
#71B840 #40B84B #40B887
triadic
#40B84B #4B40B8 #B84B40
tetradic
#40B84B #4071B8 #B840AD #B88740
square
#40B84B #4071B8 #B840AD #B88740
split-complementary
#40B84B #8740B8 #B84071
monochromatic
#205D26 #308B38 #40B84B #6ACB73 #97DB9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B84B#FFFFFF#000000##000000
##40B84B1.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)
#BBA840
Deuteranopia (green-blind)
#AD9E54
Tritanopia (blue-blind)
#21B3A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b84b;
/* rgb */ color: rgb(64, 184, 75);
/* oklch */ color: oklch(69.2% 0.183 144.7);
Tailwind
colors: {
  custom: {
    50: '#83ce81',
    500: '#40b84b',
    950: '#000000',
  },
}
SCSS
$custom: #40b84b;
$custom-light: #83ce81;
$custom-dark: #000000;
JSON
{
  "hex": "#40b84b",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 75
  },
  "hsl": {
    "h": 125.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69211,
    "c": 0.18344,
    "h": 144.7
  },
  "luminance": 0.35879
}

Semantic roles & 50–950 ramp

primary
#40B84B
secondary
#C78DC1
accent
#50CBD8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40B84B

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

Preview Lab → · Contrast checker → · Palette generator →

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