#40B732#40B732

#40B732 is a light, highly saturated green. Relative luminance 0.352; OKLCH L 68.7% C 0.200 H 141.6°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#40B732
RGBrgb(64, 183, 50)
HSLhsl(114, 57%, 46%)
HSVhsv(114, 73%, 72%)
CMYKcmyk(65%, 0%, 72.7%, 28.2%)
CIE-LABlab(65.89, -57.47, 54.81)
CIE-LCHlch(65.89, 79.42, 136.36°)
OKLaboklab(68.7% -0.1568 0.1242)
OKLCHoklch(68.7% 0.2 141.6)
XYZxyz(19.6225, 35.1853, 8.7743)
Luminance0.3519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B732 #A932B7
analogous
#82B732 #40B732 #32B766
triadic
#40B732 #3240B7 #B73240
tetradic
#40B732 #3282B7 #A932B7 #B76632
square
#40B732 #3282B7 #A932B7 #B76632
split-complementary
#40B732 #6632B7 #B73282
monochromatic
#1E5718 #2F8725 #40B732 #62D156 #8FDE86

Accessibility & contrast

On white

2.61
#40B732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#40B732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B732
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B732#FFFFFF#000000##000000
##40B7321.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61A
Deuteranopia (green-blind)
#AD9C40
Tritanopia (blue-blind)
#29B19D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b732;
/* rgb */ color: rgb(64, 183, 50);
/* oklch */ color: oklch(68.7% 0.200 141.6);
Tailwind
colors: {
  custom: {
    50: '#84ce72',
    500: '#40b732',
    950: '#000000',
  },
}
SCSS
$custom: #40b732;
$custom-light: #84ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#40b732",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 50
  },
  "hsl": {
    "h": 113.684,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68701,
    "c": 0.20003,
    "h": 141.6
  },
  "luminance": 0.35187
}

Semantic roles & 50–950 ramp

primary
#40B732
secondary
#C07DC7
accent
#47E0D0
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40B732

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

Preview Lab → · Contrast checker → · Palette generator →

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