#40B82D#40B82D

#40B82D is a light, highly saturated green. Relative luminance 0.356; OKLCH L 68.9% C 0.204 H 141.2°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#40B82D
RGBrgb(64, 184, 45)
HSLhsl(112, 61%, 45%)
HSVhsv(112, 76%, 72%)
CMYKcmyk(65.2%, 0%, 75.5%, 27.8%)
CIE-LABlab(66.18, -58.19, 56.87)
CIE-LCHlch(66.18, 81.37, 135.66°)
OKLaboklab(68.93% -0.159 0.1278)
OKLCHoklch(68.93% 0.204 141.2)
XYZxyz(19.7275, 35.5584, 8.3060)
Luminance0.3556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B82D #A52DB8
analogous
#85B82D #40B82D #2DB860
triadic
#40B82D #2D40B8 #B82D40
tetradic
#40B82D #2D85B8 #A52DB8 #B8602D
square
#40B82D #2D85B8 #A52DB8 #B8602D
split-complementary
#40B82D #602DB8 #B82D85
monochromatic
#1E5615 #2F8721 #40B82D #61D44E #8DE080

Accessibility & contrast

On white

2.59
#40B82D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#40B82D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B82D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B82D#FFFFFF#000000##000000
##40B82D1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA70E
Deuteranopia (green-blind)
#AE9D3C
Tritanopia (blue-blind)
#2AB29E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #40b82d;
/* rgb */ color: rgb(64, 184, 45);
/* oklch */ color: oklch(68.9% 0.204 141.2);
Tailwind
colors: {
  custom: {
    50: '#85ce70',
    500: '#40b82d',
    950: '#000000',
  },
}
SCSS
$custom: #40b82d;
$custom-light: #85ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#40b82d",
  "rgb": {
    "r": 64,
    "g": 184,
    "b": 45
  },
  "hsl": {
    "h": 111.799,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6893,
    "c": 0.20402,
    "h": 141.2
  },
  "luminance": 0.3556
}

Semantic roles & 50–950 ramp

primary
#40B82D
secondary
#BE78C9
accent
#44E4CE
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40B82D

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

Preview Lab → · Contrast checker → · Palette generator →

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