#40B440#40B440

#40B440 is a light, vivid green. Relative luminance 0.341; OKLCH L 68.0% C 0.187 H 143.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#40B440
RGBrgb(64, 180, 64)
HSLhsl(120, 48%, 48%)
HSVhsv(120, 64%, 71%)
CMYKcmyk(64.4%, 0%, 64.4%, 29.4%)
CIE-LABlab(65.04, -55.13, 48.27)
CIE-LCHlch(65.04, 73.28, 138.80°)
OKLaboklab(68.03% -0.1497 0.1121)
OKLCHoklch(68.03% 0.187 143.2)
XYZxyz(19.3599, 34.1007, 10.4113)
Luminance0.3410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B440 #B440B4
analogous
#7AB440 #40B440 #40B47A
triadic
#40B440 #4040B4 #B44040
tetradic
#40B440 #407AB4 #B440B4 #B47A40
square
#40B440 #407AB4 #B440B4 #B47A40
split-complementary
#40B440 #7A40B4 #B4407A
monochromatic
#205A20 #308730 #40B440 #68C968 #95D995

Accessibility & contrast

On white

2.69
#40B440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#40B440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B440
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B440#FFFFFF#000000##000000
##40B4401.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A432
Deuteranopia (green-blind)
#AA9A4A
Tritanopia (blue-blind)
#27AF9C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b440;
/* rgb */ color: rgb(64, 180, 64);
/* oklch */ color: oklch(68.0% 0.187 143.2);
Tailwind
colors: {
  custom: {
    50: '#83cb7a',
    500: '#40b440',
    950: '#000000',
  },
}
SCSS
$custom: #40b440;
$custom-light: #83cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#40b440",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 120,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68033,
    "c": 0.18706,
    "h": 143.2
  },
  "luminance": 0.34103
}

Semantic roles & 50–950 ramp

primary
#40B440
secondary
#C58BC5
accent
#51D7D7
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B440

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

Preview Lab → · Contrast checker → · Palette generator →

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