#40B936#40B936

#40B936 is a light, vivid green. Relative luminance 0.361; OKLCH L 69.3% C 0.200 H 142.0°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#40B936
RGBrgb(64, 185, 54)
HSLhsl(115, 55%, 47%)
HSVhsv(115, 71%, 73%)
CMYKcmyk(65.4%, 0%, 70.8%, 27.5%)
CIE-LABlab(66.56, -57.83, 53.99)
CIE-LCHlch(66.56, 79.12, 136.97°)
OKLaboklab(69.26% -0.1576 0.123)
OKLCHoklch(69.26% 0.2 142)
XYZxyz(20.1281, 36.0522, 9.3873)
Luminance0.3605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B936 #AF36B9
analogous
#82B936 #40B936 #36B96E
triadic
#40B936 #3640B9 #B93640
tetradic
#40B936 #3682B9 #AF36B9 #B96E36
square
#40B936 #3682B9 #AF36B9 #B96E36
split-complementary
#40B936 #6E36B9 #B93682
monochromatic
#1F5A1A #308A28 #40B936 #65D05D #92DD8C

Accessibility & contrast

On white

2.56
#40B936 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#40B936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B936
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B936#FFFFFF#000000##000000
##40B9361.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA821
Deuteranopia (green-blind)
#AF9E43
Tritanopia (blue-blind)
#27B39F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b936;
/* rgb */ color: rgb(64, 185, 54);
/* oklch */ color: oklch(69.3% 0.200 142.0);
Tailwind
colors: {
  custom: {
    50: '#84cf74',
    500: '#40b936',
    950: '#000000',
  },
}
SCSS
$custom: #40b936;
$custom-light: #84cf74;
$custom-dark: #000000;
JSON
{
  "hex": "#40b936",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 54
  },
  "hsl": {
    "h": 115.42,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.69263,
    "c": 0.19989,
    "h": 142
  },
  "luminance": 0.36054
}

Semantic roles & 50–950 ramp

primary
#40B936
secondary
#C383C8
accent
#4ADED3
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #40B936

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

Preview Lab → · Contrast checker → · Palette generator →

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