#40B532#40B532

#40B532 is a light, vivid green. Relative luminance 0.344; OKLCH L 68.2% C 0.198 H 141.6°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#40B532
RGBrgb(64, 181, 50)
HSLhsl(114, 57%, 45%)
HSVhsv(114, 72%, 71%)
CMYKcmyk(64.6%, 0%, 72.4%, 29%)
CIE-LABlab(65.25, -56.78, 54.15)
CIE-LCHlch(65.25, 78.47, 136.36°)
OKLaboklab(68.17% -0.1549 0.1228)
OKLCHoklch(68.17% 0.198 141.6)
XYZxyz(19.2129, 34.3661, 8.6378)
Luminance0.3437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B532 #A732B5
analogous
#81B532 #40B532 #32B566
triadic
#40B532 #3240B5 #B53240
tetradic
#40B532 #3281B5 #A732B5 #B56632
square
#40B532 #3281B5 #A732B5 #B56632
split-complementary
#40B532 #6632B5 #B53281
monochromatic
#1E5518 #2F8525 #40B532 #62D054 #8EDD84

Accessibility & contrast

On white

2.67
#40B532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#40B532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B532
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B532#FFFFFF#000000##000000
##40B5321.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41B
Deuteranopia (green-blind)
#AB9B3F
Tritanopia (blue-blind)
#2AAF9B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b532;
/* rgb */ color: rgb(64, 181, 50);
/* oklch */ color: oklch(68.2% 0.198 141.6);
Tailwind
colors: {
  custom: {
    50: '#84cc72',
    500: '#40b532',
    950: '#000000',
  },
}
SCSS
$custom: #40b532;
$custom-light: #84cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#40b532",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 50
  },
  "hsl": {
    "h": 113.588,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68171,
    "c": 0.19773,
    "h": 141.6
  },
  "luminance": 0.34368
}

Semantic roles & 50–950 ramp

primary
#40B532
secondary
#BF7CC7
accent
#48E0D0
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B532

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

Preview Lab → · Contrast checker → · Palette generator →

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