#40C941#40C941

#40C941 is a light, highly saturated green. Relative luminance 0.432; OKLCH L 73.6% C 0.211 H 143.1°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#40C941
RGBrgb(64, 201, 65)
HSLhsl(120, 56%, 52%)
HSVhsv(120, 68%, 79%)
CMYKcmyk(68.2%, 0%, 67.7%, 21.2%)
CIE-LABlab(71.72, -62.27, 55.13)
CIE-LCHlch(71.72, 83.17, 138.48°)
OKLaboklab(73.56% -0.169 0.1267)
OKLCHoklch(73.56% 0.211 143.1)
XYZxyz(23.9537, 43.2424, 12.0842)
Luminance0.4325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C941 #C940C8
analogous
#84C940 #40C941 #40C986
triadic
#40C941 #4140C9 #C94140
tetradic
#40C941 #4084C9 #C940C8 #C98640
square
#40C941 #4084C9 #C940C8 #C98640
split-complementary
#40C941 #8640C9 #C94084
monochromatic
#1F6F20 #2D9F2E #40C941 #70D670 #9FE4A0

Accessibility & contrast

On white

2.18
#40C941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#40C941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C941
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C941#FFFFFF#000000##000000
##40C9411.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62E
Deuteranopia (green-blind)
#BDAB4E
Tritanopia (blue-blind)
#1AC3AD
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c941;
/* rgb */ color: rgb(64, 201, 65);
/* oklch */ color: oklch(73.6% 0.211 143.1);
Tailwind
colors: {
  custom: {
    50: '#87db7c',
    500: '#40c941',
    950: '#000000',
  },
}
SCSS
$custom: #40c941;
$custom-light: #87db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#40c941",
  "rgb": {
    "r": 64,
    "g": 201,
    "b": 65
  },
  "hsl": {
    "h": 120.438,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73562,
    "c": 0.21126,
    "h": 143.1
  },
  "luminance": 0.43245
}

Semantic roles & 50–950 ramp

primary
#40C941
secondary
#D094D0
accent
#49DEDF
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #40C941

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

Preview Lab → · Contrast checker → · Palette generator →

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