#40C841#40C841

#40C841 is a light, highly saturated green. Relative luminance 0.428; OKLCH L 73.3% C 0.210 H 143.2°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#40C841
RGBrgb(64, 200, 65)
HSLhsl(120, 55%, 52%)
HSVhsv(120, 68%, 78%)
CMYKcmyk(68%, 0%, 67.5%, 21.6%)
CIE-LABlab(71.40, -61.94, 54.79)
CIE-LCHlch(71.40, 82.69, 138.51°)
OKLaboklab(73.3% -0.1681 0.126)
OKLCHoklch(73.3% 0.21 143.2)
XYZxyz(23.7213, 42.7777, 12.0068)
Luminance0.4278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C841 #C840C7
analogous
#83C840 #40C841 #40C885
triadic
#40C841 #4140C8 #C84140
tetradic
#40C841 #4083C8 #C840C7 #C88540
square
#40C841 #4083C8 #C840C7 #C88540
split-complementary
#40C841 #8540C8 #C84083
monochromatic
#206E20 #2D9D2E #40C841 #70D670 #9FE3A0

Accessibility & contrast

On white

2.20
#40C841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#40C841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C841
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C841#FFFFFF#000000##000000
##40C8411.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB62E
Deuteranopia (green-blind)
#BCAB4E
Tritanopia (blue-blind)
#1AC2AD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c841;
/* rgb */ color: rgb(64, 200, 65);
/* oklch */ color: oklch(73.3% 0.210 143.2);
Tailwind
colors: {
  custom: {
    50: '#87da7c',
    500: '#40c841',
    950: '#000000',
  },
}
SCSS
$custom: #40c841;
$custom-light: #87da7c;
$custom-dark: #000000;
JSON
{
  "hex": "#40c841",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 120.441,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73301,
    "c": 0.2101,
    "h": 143.2
  },
  "luminance": 0.4278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C841

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

Preview Lab → · Contrast checker → · Palette generator →

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