#40C835#40C835

#40C835 is a light, highly saturated green. Relative luminance 0.427; OKLCH L 73.2% C 0.218 H 142.0°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#40C835
RGBrgb(64, 200, 53)
HSLhsl(116, 58%, 50%)
HSVhsv(116, 74%, 78%)
CMYKcmyk(68%, 0%, 73.5%, 21.6%)
CIE-LABlab(71.32, -62.96, 59.23)
CIE-LCHlch(71.32, 86.44, 136.75°)
OKLaboklab(73.2% -0.1715 0.1338)
OKLCHoklch(73.2% 0.218 142)
XYZxyz(23.4099, 42.6531, 10.3666)
Luminance0.4266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C835 #BD35C8
analogous
#8AC835 #40C835 #35C873
triadic
#40C835 #3540C8 #C83540
tetradic
#40C835 #358AC8 #BD35C8 #C87335
square
#40C835 #358AC8 #BD35C8 #C87335
split-complementary
#40C835 #7335C8 #C8358A
monochromatic
#21671B #319828 #40C835 #6DD664 #9AE395

Accessibility & contrast

On white

2.20
#40C835 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#40C835 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C835
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C835#FFFFFF#000000##000000
##40C8351.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB519
Deuteranopia (green-blind)
#BDAA45
Tritanopia (blue-blind)
#1FC2AC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c835;
/* rgb */ color: rgb(64, 200, 53);
/* oklch */ color: oklch(73.2% 0.218 142.0);
Tailwind
colors: {
  custom: {
    50: '#87da76',
    500: '#40c835',
    950: '#000000',
  },
}
SCSS
$custom: #40c835;
$custom-light: #87da76;
$custom-dark: #000000;
JSON
{
  "hex": "#40c835",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 53
  },
  "hsl": {
    "h": 115.51,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73204,
    "c": 0.21752,
    "h": 142
  },
  "luminance": 0.42656
}

Semantic roles & 50–950 ramp

primary
#40C835
secondary
#C98BCE
accent
#46E1D6
background
#F9FDF7
surface
#F1FBED
border
#CBD4C8
text
#0D1509
muted
#7E837B

Preview Lab

Preview with #40C835

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

Preview Lab → · Contrast checker → · Palette generator →

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