#40B332#40B332

#40B332 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.6% C 0.195 H 141.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#40B332
RGBrgb(64, 179, 50)
HSLhsl(113, 56%, 45%)
HSVhsv(113, 72%, 70%)
CMYKcmyk(64.2%, 0%, 72.1%, 29.8%)
CIE-LABlab(64.61, -56.09, 53.50)
CIE-LCHlch(64.61, 77.51, 136.35°)
OKLaboklab(67.64% -0.1531 0.1215)
OKLCHoklch(67.64% 0.195 141.6)
XYZxyz(18.8092, 33.5586, 8.5032)
Luminance0.3356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B332 #A532B3
analogous
#81B332 #40B332 #32B364
triadic
#40B332 #3240B3 #B33240
tetradic
#40B332 #3281B3 #A532B3 #B36432
square
#40B332 #3281B3 #A532B3 #B36432
split-complementary
#40B332 #6432B3 #B33281
monochromatic
#1E5317 #2F8325 #40B332 #61CF53 #8DDC83

Accessibility & contrast

On white

2.72
#40B332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#40B332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B332
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B332#FFFFFF#000000##000000
##40B3321.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21C
Deuteranopia (green-blind)
#AA993F
Tritanopia (blue-blind)
#2BAD9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b332;
/* rgb */ color: rgb(64, 179, 50);
/* oklch */ color: oklch(67.6% 0.195 141.6);
Tailwind
colors: {
  custom: {
    50: '#83cb72',
    500: '#40b332',
    950: '#000000',
  },
}
SCSS
$custom: #40b332;
$custom-light: #83cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#40b332",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 113.488,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6764,
    "c": 0.1954,
    "h": 141.6
  },
  "luminance": 0.3356
}

Semantic roles & 50–950 ramp

primary
#40B332
secondary
#BE7BC6
accent
#48E0CF
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B332

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

Preview Lab → · Contrast checker → · Palette generator →

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