#40C740#40C740

#40C740 is a light, highly saturated green. Relative luminance 0.423; OKLCH L 73.0% C 0.210 H 143.1°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#40C740
RGBrgb(64, 199, 64)
HSLhsl(120, 55%, 52%)
HSVhsv(120, 68%, 78%)
CMYKcmyk(67.8%, 0%, 67.8%, 22%)
CIE-LABlab(71.08, -61.70, 54.84)
CIE-LCHlch(71.08, 82.55, 138.37°)
OKLaboklab(73.03% -0.1675 0.126)
OKLCHoklch(73.03% 0.21 143.1)
XYZxyz(23.4618, 42.3045, 11.7786)
Luminance0.4231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C740 #C740C7
analogous
#84C740 #40C740 #40C784
triadic
#40C740 #4040C7 #C74040
tetradic
#40C740 #4084C7 #C740C7 #C78440
square
#40C740 #4084C7 #C740C7 #C78440
split-complementary
#40C740 #8440C7 #C74084
monochromatic
#206D20 #2E9C2E #40C740 #6FD56F #9FE39F

Accessibility & contrast

On white

2.22
#40C740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#40C740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C740
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C740#FFFFFF#000000##000000
##40C7401.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52D
Deuteranopia (green-blind)
#BBAA4D
Tritanopia (blue-blind)
#1CC1AC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c740;
/* rgb */ color: rgb(64, 199, 64);
/* oklch */ color: oklch(73.0% 0.210 143.1);
Tailwind
colors: {
  custom: {
    50: '#87d97b',
    500: '#40c740',
    950: '#000000',
  },
}
SCSS
$custom: #40c740;
$custom-light: #87d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c740",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 64
  },
  "hsl": {
    "h": 120,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73031,
    "c": 0.20962,
    "h": 143.1
  },
  "luminance": 0.42307
}

Semantic roles & 50–950 ramp

primary
#40C740
secondary
#CF94CF
accent
#4ADEDE
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #40C740

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

Preview Lab → · Contrast checker → · Palette generator →

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