#40B84E#40B84E

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

Color values

HEX#40B84E
RGBrgb(64, 184, 78)
HSLhsl(127, 48%, 49%)
HSVhsv(127, 65%, 72%)
CMYKcmyk(65.2%, 0%, 57.6%, 27.8%)
CIE-LABlab(66.46, -54.94, 43.55)
CIE-LCHlch(66.46, 70.11, 141.59°)
OKLaboklab(69.25% -0.1486 0.1033)
OKLCHoklch(69.25% 0.181 145.2)
XYZxyz(20.6287, 35.9189, 13.0522)
Luminance0.3592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B84E #B840AA
analogous
#6EB840 #40B84E #40B88A
triadic
#40B84E #4E40B8 #B84E40
tetradic
#40B84E #406EB8 #B840AA #B88A40
square
#40B84E #406EB8 #B840AA #B88A40
split-complementary
#40B84E #8A40B8 #B8406E
monochromatic
#205D28 #308B3B #40B84E #6ACB75 #97DB9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B84E#FFFFFF#000000##000000
##40B84E1.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)
#BBA843
Deuteranopia (green-blind)
#AC9E56
Tritanopia (blue-blind)
#1FB3A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b84e;
/* rgb */ color: rgb(64, 184, 78);
/* oklch */ color: oklch(69.2% 0.181 145.2);
Tailwind
colors: {
  custom: {
    50: '#83ce83',
    500: '#40b84e',
    950: '#000000',
  },
}
SCSS
$custom: #40b84e;
$custom-light: #83ce83;
$custom-dark: #000000;
JSON
{
  "hex": "#40b84e",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 78
  },
  "hsl": {
    "h": 127,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69248,
    "c": 0.18096,
    "h": 145.2
  },
  "luminance": 0.35921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40B84E

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

Preview Lab → · Contrast checker → · Palette generator →

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