#40B84F#40B84F

#40B84F is a light, vivid green. Relative luminance 0.359; OKLCH L 69.3% C 0.180 H 145.4°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#40B84F
RGBrgb(64, 184, 79)
HSLhsl(128, 48%, 49%)
HSVhsv(128, 65%, 72%)
CMYKcmyk(65.2%, 0%, 57.1%, 27.8%)
CIE-LABlab(66.47, -54.82, 43.10)
CIE-LCHlch(66.47, 69.73, 141.82°)
OKLaboklab(69.26% -0.1482 0.1024)
OKLCHoklch(69.26% 0.18 145.4)
XYZxyz(20.6648, 35.9334, 13.2424)
Luminance0.3594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B84F #B840A9
analogous
#6DB840 #40B84F #40B88B
triadic
#40B84F #4F40B8 #B84F40
tetradic
#40B84F #406DB8 #B840A9 #B88B40
square
#40B84F #406DB8 #B840A9 #B88B40
split-complementary
#40B84F #8B40B8 #B8406D
monochromatic
#205D28 #308B3C #40B84F #6ACB76 #97DBA0

Accessibility & contrast

On white

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

On black

8.19
#40B84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B84F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B84F#FFFFFF#000000##000000
##40B84F1.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA845
Deuteranopia (green-blind)
#AC9E57
Tritanopia (blue-blind)
#1FB4A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b84f;
/* rgb */ color: rgb(64, 184, 79);
/* oklch */ color: oklch(69.3% 0.180 145.4);
Tailwind
colors: {
  custom: {
    50: '#83ce83',
    500: '#40b84f',
    950: '#000000',
  },
}
SCSS
$custom: #40b84f;
$custom-light: #83ce83;
$custom-dark: #000000;
JSON
{
  "hex": "#40b84f",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 127.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69261,
    "c": 0.18013,
    "h": 145.4
  },
  "luminance": 0.35935
}

Semantic roles & 50–950 ramp

primary
#40B84F
secondary
#C78DC0
accent
#50C7D8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B84F

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

Preview Lab → · Contrast checker → · Palette generator →

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