#40C240#40C240

#40C240 is a light, highly saturated green. Relative luminance 0.400; OKLCH L 71.7% C 0.204 H 143.1°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#40C240
RGBrgb(64, 194, 64)
HSLhsl(120, 52%, 51%)
HSVhsv(120, 67%, 76%)
CMYKcmyk(67%, 0%, 67%, 23.9%)
CIE-LABlab(69.50, -60.01, 53.14)
CIE-LCHlch(69.50, 80.16, 138.47°)
OKLaboklab(71.72% -0.1629 0.1224)
OKLCHoklch(71.72% 0.204 143.1)
XYZxyz(22.3302, 40.0414, 11.4014)
Luminance0.4004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C240 #C240C2
analogous
#81C240 #40C240 #40C281
triadic
#40C240 #4040C2 #C24040
tetradic
#40C240 #4081C2 #C240C2 #C28140
square
#40C240 #4081C2 #C240C2 #C28140
split-complementary
#40C240 #8140C2 #C24081
monochromatic
#216721 #309530 #40C240 #6ED16E #9DE09D

Accessibility & contrast

On white

2.33
#40C240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#40C240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C240
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C240#FFFFFF#000000##000000
##40C2401.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02E
Deuteranopia (green-blind)
#B7A64C
Tritanopia (blue-blind)
#1FBCA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #40c240;
/* rgb */ color: rgb(64, 194, 64);
/* oklch */ color: oklch(71.7% 0.204 143.1);
Tailwind
colors: {
  custom: {
    50: '#86d67b',
    500: '#40c240',
    950: '#000000',
  },
}
SCSS
$custom: #40c240;
$custom-light: #86d67b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c240",
  "rgb": {
    "r": 64,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 120,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71721,
    "c": 0.2038,
    "h": 143.1
  },
  "luminance": 0.40044
}

Semantic roles & 50–950 ramp

primary
#40C240
secondary
#CC92CC
accent
#4DDBDB
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C240

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

Preview Lab → · Contrast checker → · Palette generator →

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