#40B32B#40B32B

#40B32B is a light, vivid green. Relative luminance 0.335; OKLCH L 67.6% C 0.199 H 140.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#40B32B
RGBrgb(64, 179, 43)
HSLhsl(111, 61%, 44%)
HSVhsv(111, 76%, 70%)
CMYKcmyk(64.2%, 0%, 76%, 29.8%)
CIE-LABlab(64.57, -56.62, 55.96)
CIE-LCHlch(64.57, 79.60, 135.34°)
OKLaboklab(67.59% -0.1549 0.1257)
OKLCHoklch(67.59% 0.199 140.9)
XYZxyz(18.6696, 33.5028, 7.7678)
Luminance0.3351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B32B #9E2BB3
analogous
#84B32B #40B32B #2BB35A
triadic
#40B32B #2B40B3 #B32B40
tetradic
#40B32B #2B84B3 #9E2BB3 #B35A2B
square
#40B32B #2B84B3 #9E2BB3 #B35A2B
split-complementary
#40B32B #5A2BB3 #B32B84
monochromatic
#1D5013 #2E821F #40B32B #5ED348 #89DF79

Accessibility & contrast

On white

2.73
#40B32B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#40B32B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B32B
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B32B#FFFFFF#000000##000000
##40B32B1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A20C
Deuteranopia (green-blind)
#AA993A
Tritanopia (blue-blind)
#2CAD99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b32b;
/* rgb */ color: rgb(64, 179, 43);
/* oklch */ color: oklch(67.6% 0.199 140.9);
Tailwind
colors: {
  custom: {
    50: '#84cb6e',
    500: '#40b32b',
    950: '#000000',
  },
}
SCSS
$custom: #40b32b;
$custom-light: #84cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b32b",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 43
  },
  "hsl": {
    "h": 110.735,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67589,
    "c": 0.19943,
    "h": 140.9
  },
  "luminance": 0.33505
}

Semantic roles & 50–950 ramp

primary
#40B32B
secondary
#BA73C7
accent
#43E4CC
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B32B

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

Preview Lab → · Contrast checker → · Palette generator →

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