#40D258#40D258

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

Color values

HEX#40D258
RGBrgb(64, 210, 88)
HSLhsl(130, 62%, 54%)
HSVhsv(130, 70%, 82%)
CMYKcmyk(69.5%, 0%, 58.1%, 17.6%)
CIE-LABlab(74.75, -62.81, 48.66)
CIE-LCHlch(74.75, 79.46, 142.24°)
OKLaboklab(76.14% -0.1695 0.1151)
OKLCHoklch(76.14% 0.205 145.8)
XYZxyz(26.9205, 47.8848, 17.0546)
Luminance0.4789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D258 #D240BA
analogous
#71D240 #40D258 #40D2A1
triadic
#40D258 #5840D2 #D25840
tetradic
#40D258 #4071D2 #D240BA #D2A140
square
#40D258 #4071D2 #D240BA #D2A140
split-complementary
#40D258 #A140D2 #D24071
monochromatic
#1D7B2C #29AC3E #40D258 #72DE83 #A3E9AF

Accessibility & contrast

On white

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

On black

10.58
#40D258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D258
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D258#FFFFFF#000000##000000
##40D2581.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d258;
/* rgb */ color: rgb(64, 210, 88);
/* oklch */ color: oklch(76.1% 0.205 145.8);
Tailwind
colors: {
  custom: {
    50: '#88e18b',
    500: '#40d258',
    950: '#000000',
  },
}
SCSS
$custom: #40d258;
$custom-light: #88e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#40d258",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 129.863,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76142,
    "c": 0.20493,
    "h": 145.8
  },
  "luminance": 0.47888
}

Semantic roles & 50–950 ramp

primary
#40D258
secondary
#D698CC
accent
#43CAE5
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150C
muted
#7E837D

Preview Lab

Preview with #40D258

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

Preview Lab → · Contrast checker → · Palette generator →

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