#40D241#40D241

#40D241 is a light, highly saturated green. Relative luminance 0.476; OKLCH L 75.9% C 0.221 H 143.1°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#40D241
RGBrgb(64, 210, 65)
HSLhsl(120, 62%, 54%)
HSVhsv(120, 70%, 82%)
CMYKcmyk(69.5%, 0%, 69%, 17.6%)
CIE-LABlab(74.55, -65.25, 58.13)
CIE-LCHlch(74.55, 87.39, 138.30°)
OKLaboklab(75.91% -0.1771 0.133)
OKLCHoklch(75.91% 0.221 143.1)
XYZxyz(26.1135, 47.5620, 12.8042)
Luminance0.4757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D241 #D240D1
analogous
#88D240 #40D241 #40D28A
triadic
#40D241 #4140D2 #D24140
tetradic
#40D241 #4088D2 #D240D1 #D28A40
square
#40D241 #4088D2 #D240D1 #D28A40
split-complementary
#40D241 #8A40D2 #D24088
monochromatic
#1D7B1E #29AC29 #40D241 #72DE72 #A3E9A4

Accessibility & contrast

On white

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

On black

10.51
#40D241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D241
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D241#FFFFFF#000000##000000
##40D2411.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2B
Deuteranopia (green-blind)
#C5B34F
Tritanopia (blue-blind)
#11CCB5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40d241;
/* rgb */ color: rgb(64, 210, 65);
/* oklch */ color: oklch(75.9% 0.221 143.1);
Tailwind
colors: {
  custom: {
    50: '#89e17d',
    500: '#40d241',
    950: '#000000',
  },
}
SCSS
$custom: #40d241;
$custom-light: #89e17d;
$custom-dark: #000000;
JSON
{
  "hex": "#40d241",
  "rgb": {
    "r": 64,
    "g": 210,
    "b": 65
  },
  "hsl": {
    "h": 120.411,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75907,
    "c": 0.22149,
    "h": 143.1
  },
  "luminance": 0.47565
}

Semantic roles & 50–950 ramp

primary
#40D241
secondary
#D698D6
accent
#43E4E5
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #40D241

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

Preview Lab → · Contrast checker → · Palette generator →

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