#40D255#40D255

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

Color values

HEX#40D255
RGBrgb(64, 210, 85)
HSLhsl(129, 62%, 54%)
HSVhsv(129, 70%, 82%)
CMYKcmyk(69.5%, 0%, 59.5%, 17.6%)
CIE-LABlab(74.72, -63.18, 49.97)
CIE-LCHlch(74.72, 80.55, 141.65°)
OKLaboklab(76.11% -0.1706 0.1177)
OKLCHoklch(76.11% 0.207 145.4)
XYZxyz(26.7988, 47.8361, 16.4135)
Luminance0.4784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D255 #D240BD
analogous
#74D240 #40D255 #40D29E
triadic
#40D255 #5540D2 #D25540
tetradic
#40D255 #4074D2 #D240BD #D29E40
square
#40D255 #4074D2 #D240BD #D29E40
split-complementary
#40D255 #9E40D2 #D24074
monochromatic
#1D7B2A #29AC3C #40D255 #72DE81 #A3E9AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D255#FFFFFF#000000##000000
##40D2551.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)
#D5BF48
Deuteranopia (green-blind)
#C4B35F
Tritanopia (blue-blind)
#00CDB7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #40d255;
/* rgb */ color: rgb(64, 210, 85);
/* oklch */ color: oklch(76.1% 0.207 145.4);
Tailwind
colors: {
  custom: {
    50: '#88e189',
    500: '#40d255',
    950: '#000000',
  },
}
SCSS
$custom: #40d255;
$custom-light: #88e189;
$custom-dark: #000000;
JSON
{
  "hex": "#40d255",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 128.63,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76107,
    "c": 0.20729,
    "h": 145.4
  },
  "luminance": 0.47839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40D255

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

Preview Lab → · Contrast checker → · Palette generator →

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