#40B533#40B533

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

Color values

HEX#40B533
RGBrgb(64, 181, 51)
HSLhsl(114, 56%, 45%)
HSVhsv(114, 72%, 71%)
CMYKcmyk(64.6%, 0%, 71.8%, 29%)
CIE-LABlab(65.26, -56.70, 53.79)
CIE-LCHlch(65.26, 78.15, 136.51°)
OKLaboklab(68.18% -0.1547 0.1222)
OKLCHoklch(68.18% 0.197 141.7)
XYZxyz(19.2347, 34.3748, 8.7527)
Luminance0.3438 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B533 #A833B5
analogous
#81B533 #40B533 #33B567
triadic
#40B533 #3340B5 #B53340
tetradic
#40B533 #3381B5 #A833B5 #B56733
square
#40B533 #3381B5 #A833B5 #B56733
split-complementary
#40B533 #6733B5 #B53381
monochromatic
#1E5618 #2F8526 #40B533 #62CF56 #8EDD86

Accessibility & contrast

On white

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

On black

7.88
#40B533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B533
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B533#FFFFFF#000000##000000
##40B5331.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40b533;
/* rgb */ color: rgb(64, 181, 51);
/* oklch */ color: oklch(68.2% 0.197 141.7);
Tailwind
colors: {
  custom: {
    50: '#84cc72',
    500: '#40b533',
    950: '#000000',
  },
}
SCSS
$custom: #40b533;
$custom-light: #84cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#40b533",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 114,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68179,
    "c": 0.19711,
    "h": 141.7
  },
  "luminance": 0.34377
}

Semantic roles & 50–950 ramp

primary
#40B533
secondary
#BF7DC6
accent
#48DFD0
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B533

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

Preview Lab → · Contrast checker → · Palette generator →

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