#40D235#40D235

#40D235 is a light, highly saturated green. Relative luminance 0.474; OKLCH L 75.8% C 0.228 H 142.1°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#40D235
RGBrgb(64, 210, 53)
HSLhsl(116, 64%, 52%)
HSVhsv(116, 75%, 82%)
CMYKcmyk(69.5%, 0%, 74.8%, 17.6%)
CIE-LABlab(74.47, -66.20, 62.37)
CIE-LCHlch(74.47, 90.96, 136.71°)
OKLaboklab(75.82% -0.1803 0.1404)
OKLCHoklch(75.82% 0.228 142.1)
XYZxyz(25.8021, 47.4374, 11.1640)
Luminance0.4744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D235 #C735D2
analogous
#8FD235 #40D235 #35D279
triadic
#40D235 #3540D2 #D23540
tetradic
#40D235 #358FD2 #C735D2 #D27935
square
#40D235 #358FD2 #C735D2 #D27935
split-complementary
#40D235 #7935D2 #D2358F
monochromatic
#20731A #2EA525 #40D235 #6FDD67 #9FE899

Accessibility & contrast

On white

2.00
#40D235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#40D235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D235
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D235#FFFFFF#000000##000000
##40D2351.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE12
Deuteranopia (green-blind)
#C6B346
Tritanopia (blue-blind)
#17CCB4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40d235;
/* rgb */ color: rgb(64, 210, 53);
/* oklch */ color: oklch(75.8% 0.228 142.1);
Tailwind
colors: {
  custom: {
    50: '#89e177',
    500: '#40d235',
    950: '#000000',
  },
}
SCSS
$custom: #40d235;
$custom-light: #89e177;
$custom-dark: #000000;
JSON
{
  "hex": "#40d235",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 53
  },
  "hsl": {
    "h": 115.796,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75816,
    "c": 0.22847,
    "h": 142.1
  },
  "luminance": 0.4744
}

Semantic roles & 50–950 ramp

primary
#40D235
secondary
#CF8FD4
accent
#41E7DB
background
#F9FDF7
surface
#F2FBEE
border
#CCD4C9
text
#0D1509
muted
#7E837B

Preview Lab

Preview with #40D235

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

Preview Lab → · Contrast checker → · Palette generator →

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