#40E258#40E258

#40E258 is a light, highly saturated green. Relative luminance 0.562; OKLCH L 80.3% C 0.224 H 145.3°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#40E258
RGBrgb(64, 226, 88)
HSLhsl(129, 74%, 57%)
HSVhsv(129, 72%, 89%)
CMYKcmyk(71.7%, 0%, 61.1%, 11.4%)
CIE-LABlab(79.72, -68.15, 54.38)
CIE-LCHlch(79.72, 87.19, 141.41°)
OKLaboklab(80.26% -0.184 0.1275)
OKLCHoklch(80.26% 0.224 145.3)
XYZxyz(31.0700, 56.1838, 18.4377)
Luminance0.5619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40E258 #E240CA
analogous
#79E240 #40E258 #40E2A9
triadic
#40E258 #5840E2 #E25840
tetradic
#40E258 #4079E2 #E240CA #E2A940
square
#40E258 #4079E2 #E240CA #E2A940
split-complementary
#40E258 #A940E2 #E24079
monochromatic
#169228 #1EC737 #40E258 #75EA86 #AAF2B5

Accessibility & contrast

On white

1.72
#40E258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#40E258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40E258
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40E258#FFFFFF#000000##000000
##40E2581.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD49
Deuteranopia (green-blind)
#D3C164
Tritanopia (blue-blind)
#00DCC5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #40e258;
/* rgb */ color: rgb(64, 226, 88);
/* oklch */ color: oklch(80.3% 0.224 145.3);
Tailwind
colors: {
  custom: {
    50: '#8bec8c',
    500: '#40e258',
    950: '#000000',
  },
}
SCSS
$custom: #40e258;
$custom-light: #8bec8c;
$custom-dark: #000000;
JSON
{
  "hex": "#40e258",
  "rgb": {
    "r": 64,
    "g": 226,
    "b": 88
  },
  "hsl": {
    "h": 128.889,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80256,
    "c": 0.2238,
    "h": 145.3
  },
  "luminance": 0.56187
}

Semantic roles & 50–950 ramp

primary
#40E258
secondary
#963087
accent
#38D5F0
background
#FCFFFC
surface
#F5FEF4
border
#CFD6CE
text
#0E160C
muted
#7F857F

Preview Lab

Preview with #40E258

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

Preview Lab → · Contrast checker → · Palette generator →

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