#40C73B#40C73B

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

Color values

HEX#40C73B
RGBrgb(64, 199, 59)
HSLhsl(118, 56%, 51%)
HSVhsv(118, 70%, 78%)
CMYKcmyk(67.8%, 0%, 70.4%, 22%)
CIE-LABlab(71.04, -62.14, 56.75)
CIE-LCHlch(71.04, 84.16, 137.60°)
OKLaboklab(72.99% -0.169 0.1294)
OKLCHoklch(72.99% 0.213 142.6)
XYZxyz(23.3258, 42.2501, 11.0626)
Luminance0.4225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C73B #C23BC7
analogous
#86C73B #40C73B #3BC77C
triadic
#40C73B #3B40C7 #C73B40
tetradic
#40C73B #3B86C7 #C23BC7 #C77C3B
square
#40C73B #3B86C7 #C23BC7 #C77C3B
split-complementary
#40C73B #7C3BC7 #C73B86
monochromatic
#21691E #30992C #40C73B #6ED56B #9DE29A

Accessibility & contrast

On white

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

On black

9.45
#40C73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C73B
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C73B#FFFFFF#000000##000000
##40C73B1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB525
Deuteranopia (green-blind)
#BCAA49
Tritanopia (blue-blind)
#1EC1AB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c73b;
/* rgb */ color: rgb(64, 199, 59);
/* oklch */ color: oklch(73.0% 0.213 142.6);
Tailwind
colors: {
  custom: {
    50: '#87d979',
    500: '#40c73b',
    950: '#000000',
  },
}
SCSS
$custom: #40c73b;
$custom-light: #87d979;
$custom-dark: #000000;
JSON
{
  "hex": "#40c73b",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 59
  },
  "hsl": {
    "h": 117.857,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72988,
    "c": 0.21283,
    "h": 142.6
  },
  "luminance": 0.42253
}

Semantic roles & 50–950 ramp

primary
#40C73B
secondary
#CC90CE
accent
#49DFDA
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D1509
muted
#7E837B

Preview Lab

Preview with #40C73B

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

Preview Lab → · Contrast checker → · Palette generator →

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