#40C765#40C765

#40C765 is a light, vivid green. Relative luminance 0.429; OKLCH L 73.5% C 0.180 H 148.7°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#40C765
RGBrgb(64, 199, 101)
HSLhsl(136, 55%, 52%)
HSVhsv(136, 68%, 78%)
CMYKcmyk(67.8%, 0%, 49.2%, 22%)
CIE-LABlab(71.47, -57.16, 38.51)
CIE-LCHlch(71.47, 68.92, 146.03°)
OKLaboklab(73.48% -0.154 0.0935)
OKLCHoklch(73.48% 0.18 148.7)
XYZxyz(24.8849, 42.8737, 19.2734)
Luminance0.4288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C765 #C740A2
analogous
#5FC740 #40C765 #40C7A8
triadic
#40C765 #6540C7 #C76540
tetradic
#40C765 #405FC7 #C740A2 #C7A840
square
#40C765 #405FC7 #C740A2 #C7A840
split-complementary
#40C765 #A840C7 #C7405F
monochromatic
#206D35 #2E9C4C #40C765 #6FD58B #9FE3B1

Accessibility & contrast

On white

2.19
#40C765 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#40C765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C765
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C765#FFFFFF#000000##000000
##40C7651.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B65D
Deuteranopia (green-blind)
#B8AB6C
Tritanopia (blue-blind)
#00C3B0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c765;
/* rgb */ color: rgb(64, 199, 101);
/* oklch */ color: oklch(73.5% 0.180 148.7);
Tailwind
colors: {
  custom: {
    50: '#85d992',
    500: '#40c765',
    950: '#000000',
  },
}
SCSS
$custom: #40c765;
$custom-light: #85d992;
$custom-dark: #000000;
JSON
{
  "hex": "#40c765",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 101
  },
  "hsl": {
    "h": 136.444,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73478,
    "c": 0.18019,
    "h": 148.7
  },
  "luminance": 0.42876
}

Semantic roles & 50–950 ramp

primary
#40C765
secondary
#CF94BF
accent
#4AB5DE
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C765

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

Preview Lab → · Contrast checker → · Palette generator →

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