#40B534#40B534

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

Color values

HEX#40B534
RGBrgb(64, 181, 52)
HSLhsl(114, 55%, 46%)
HSVhsv(114, 71%, 71%)
CMYKcmyk(64.6%, 0%, 71.3%, 29%)
CIE-LABlab(65.27, -56.62, 53.41)
CIE-LCHlch(65.27, 77.84, 136.67°)
OKLaboklab(68.19% -0.1544 0.1216)
OKLCHoklch(68.19% 0.197 141.8)
XYZxyz(19.2570, 34.3837, 8.8700)
Luminance0.3439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B534 #A934B5
analogous
#80B534 #40B534 #34B569
triadic
#40B534 #3440B5 #B53440
tetradic
#40B534 #3480B5 #A934B5 #B56934
square
#40B534 #3480B5 #A934B5 #B56934
split-complementary
#40B534 #6934B5 #B53480
monochromatic
#1E5619 #2F8526 #40B534 #62CF57 #8FDC87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B534#FFFFFF#000000##000000
##40B5341.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)
#B9A41F
Deuteranopia (green-blind)
#AB9B41
Tritanopia (blue-blind)
#2AAF9C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b534;
/* rgb */ color: rgb(64, 181, 52);
/* oklch */ color: oklch(68.2% 0.197 141.8);
Tailwind
colors: {
  custom: {
    50: '#84cc73',
    500: '#40b534',
    950: '#000000',
  },
}
SCSS
$custom: #40b534;
$custom-light: #84cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#40b534",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 52
  },
  "hsl": {
    "h": 114.419,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68187,
    "c": 0.1965,
    "h": 141.8
  },
  "luminance": 0.34386
}

Semantic roles & 50–950 ramp

primary
#40B534
secondary
#C07FC6
accent
#49DFD1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B534

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

Preview Lab → · Contrast checker → · Palette generator →

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