#40C762#40C762

#40C762 is a light, vivid green. Relative luminance 0.428; OKLCH L 73.4% C 0.183 H 148.1°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#40C762
RGBrgb(64, 199, 98)
HSLhsl(135, 55%, 52%)
HSVhsv(135, 68%, 78%)
CMYKcmyk(67.8%, 0%, 50.8%, 22%)
CIE-LABlab(71.43, -57.61, 39.94)
CIE-LCHlch(71.43, 70.10, 145.26°)
OKLaboklab(73.43% -0.1553 0.0966)
OKLCHoklch(73.43% 0.183 148.1)
XYZxyz(24.7405, 42.8160, 18.5134)
Luminance0.4282 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C762 #C740A5
analogous
#62C740 #40C762 #40C7A6
triadic
#40C762 #6240C7 #C76240
tetradic
#40C762 #4062C7 #C740A5 #C7A640
square
#40C762 #4062C7 #C740A5 #C7A640
split-complementary
#40C762 #A640C7 #C74062
monochromatic
#206D33 #2E9C4A #40C762 #6FD589 #9FE3B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C762#FFFFFF#000000##000000
##40C7621.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)
#C9B659
Deuteranopia (green-blind)
#B9AA69
Tritanopia (blue-blind)
#00C3B0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c762;
/* rgb */ color: rgb(64, 199, 98);
/* oklch */ color: oklch(73.4% 0.183 148.1);
Tailwind
colors: {
  custom: {
    50: '#85d990',
    500: '#40c762',
    950: '#000000',
  },
}
SCSS
$custom: #40c762;
$custom-light: #85d990;
$custom-dark: #000000;
JSON
{
  "hex": "#40c762",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 98
  },
  "hsl": {
    "h": 135.111,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73433,
    "c": 0.18285,
    "h": 148.1
  },
  "luminance": 0.42819
}

Semantic roles & 50–950 ramp

primary
#40C762
secondary
#CF94C0
accent
#4AB9DE
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C762

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

Preview Lab → · Contrast checker → · Palette generator →

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