#40D256#40D256

#40D256 is a light, highly saturated green. Relative luminance 0.479; OKLCH L 76.1% C 0.207 H 145.5°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#40D256
RGBrgb(64, 210, 86)
HSLhsl(129, 62%, 54%)
HSVhsv(129, 70%, 82%)
CMYKcmyk(69.5%, 0%, 59%, 17.6%)
CIE-LABlab(74.73, -63.06, 49.54)
CIE-LCHlch(74.73, 80.19, 141.85°)
OKLaboklab(76.12% -0.1703 0.1169)
OKLCHoklch(76.12% 0.207 145.5)
XYZxyz(26.8388, 47.8521, 16.6242)
Luminance0.4785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D256 #D240BC
analogous
#73D240 #40D256 #40D29F
triadic
#40D256 #5640D2 #D25640
tetradic
#40D256 #4073D2 #D240BC #D29F40
square
#40D256 #4073D2 #D240BC #D29F40
split-complementary
#40D256 #9F40D2 #D24073
monochromatic
#1D7B2B #29AC3C #40D256 #72DE82 #A3E9AE

Accessibility & contrast

On white

1.99
#40D256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#40D256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D256
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D256#FFFFFF#000000##000000
##40D2561.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF49
Deuteranopia (green-blind)
#C4B360
Tritanopia (blue-blind)
#00CDB7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #40d256;
/* rgb */ color: rgb(64, 210, 86);
/* oklch */ color: oklch(76.1% 0.207 145.5);
Tailwind
colors: {
  custom: {
    50: '#88e189',
    500: '#40d256',
    950: '#000000',
  },
}
SCSS
$custom: #40d256;
$custom-light: #88e189;
$custom-dark: #000000;
JSON
{
  "hex": "#40d256",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 129.041,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76118,
    "c": 0.20651,
    "h": 145.5
  },
  "luminance": 0.47855
}

Semantic roles & 50–950 ramp

primary
#40D256
secondary
#D698CD
accent
#43CDE5
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150C
muted
#7E837D

Preview Lab

Preview with #40D256

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

Preview Lab → · Contrast checker → · Palette generator →

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