#40B535#40B535

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

Color values

HEX#40B535
RGBrgb(64, 181, 53)
HSLhsl(115, 55%, 46%)
HSVhsv(115, 71%, 71%)
CMYKcmyk(64.6%, 0%, 70.7%, 29%)
CIE-LABlab(65.27, -56.53, 53.04)
CIE-LCHlch(65.27, 77.52, 136.83°)
OKLaboklab(68.19% -0.1541 0.1209)
OKLCHoklch(68.19% 0.196 141.9)
XYZxyz(19.2798, 34.3929, 8.9899)
Luminance0.3439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B535 #AA35B5
analogous
#80B535 #40B535 #35B56A
triadic
#40B535 #3540B5 #B53540
tetradic
#40B535 #3580B5 #AA35B5 #B56A35
square
#40B535 #3580B5 #AA35B5 #B56A35
split-complementary
#40B535 #6A35B5 #B53580
monochromatic
#1F5619 #2F8627 #40B535 #63CE59 #8FDC88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B535#FFFFFF#000000##000000
##40B5351.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)
#B9A421
Deuteranopia (green-blind)
#AB9B42
Tritanopia (blue-blind)
#29AF9C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b535;
/* rgb */ color: rgb(64, 181, 53);
/* oklch */ color: oklch(68.2% 0.196 141.9);
Tailwind
colors: {
  custom: {
    50: '#84cc73',
    500: '#40b535',
    950: '#000000',
  },
}
SCSS
$custom: #40b535;
$custom-light: #84cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#40b535",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 53
  },
  "hsl": {
    "h": 114.844,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68195,
    "c": 0.19586,
    "h": 141.9
  },
  "luminance": 0.34395
}

Semantic roles & 50–950 ramp

primary
#40B535
secondary
#C080C6
accent
#4ADED1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B535

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

Preview Lab → · Contrast checker → · Palette generator →

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