#40D341#40D341

#40D341 is a light, highly saturated green. Relative luminance 0.481; OKLCH L 76.2% C 0.223 H 143.1°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#40D341
RGBrgb(64, 211, 65)
HSLhsl(120, 63%, 54%)
HSVhsv(120, 70%, 83%)
CMYKcmyk(69.7%, 0%, 69.2%, 17.3%)
CIE-LABlab(74.86, -65.57, 58.46)
CIE-LCHlch(74.86, 87.85, 138.28°)
OKLaboklab(76.17% -0.178 0.1337)
OKLCHoklch(76.17% 0.223 143.1)
XYZxyz(26.3612, 48.0573, 12.8867)
Luminance0.4806 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D341 #D340D2
analogous
#89D340 #40D341 #40D38B
triadic
#40D341 #4140D3 #D34140
tetradic
#40D341 #4089D3 #D340D2 #D38B40
square
#40D341 #4089D3 #D340D2 #D38B40
split-complementary
#40D341 #8B40D3 #D34089
monochromatic
#1D7C1D #28AE29 #40D341 #72DE72 #A3EAA4

Accessibility & contrast

On white

1.98
#40D341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#40D341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D341
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D341#FFFFFF#000000##000000
##40D3411.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#C6B44F
Tritanopia (blue-blind)
#0FCDB6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #40d341;
/* rgb */ color: rgb(64, 211, 65);
/* oklch */ color: oklch(76.2% 0.223 143.1);
Tailwind
colors: {
  custom: {
    50: '#89e27d',
    500: '#40d341',
    950: '#000000',
  },
}
SCSS
$custom: #40d341;
$custom-light: #89e27d;
$custom-dark: #000000;
JSON
{
  "hex": "#40d341",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 65
  },
  "hsl": {
    "h": 120.408,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76167,
    "c": 0.22261,
    "h": 143.1
  },
  "luminance": 0.4806
}

Semantic roles & 50–950 ramp

primary
#40D341
secondary
#D798D6
accent
#42E5E6
background
#F9FEF7
surface
#F1FCEE
border
#CBD5C9
text
#0D150A
muted
#7E847C

Preview Lab

Preview with #40D341

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

Preview Lab → · Contrast checker → · Palette generator →

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