#40C768#40C768

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

Color values

HEX#40C768
RGBrgb(64, 199, 104)
HSLhsl(138, 55%, 52%)
HSVhsv(138, 68%, 78%)
CMYKcmyk(67.8%, 0%, 47.7%, 22%)
CIE-LABlab(71.51, -56.69, 37.07)
CIE-LCHlch(71.51, 67.74, 146.82°)
OKLaboklab(73.52% -0.1527 0.0904)
OKLCHoklch(73.52% 0.178 149.4)
XYZxyz(25.0345, 42.9336, 20.0617)
Luminance0.4294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C768 #C7409F
analogous
#5CC740 #40C768 #40C7AC
triadic
#40C768 #6840C7 #C76840
tetradic
#40C768 #405CC7 #C7409F #C7AC40
square
#40C768 #405CC7 #C7409F #C7AC40
split-complementary
#40C768 #AC40C7 #C7405C
monochromatic
#206D37 #2E9C4E #40C768 #6FD58D #9FE3B3

Accessibility & contrast

On white

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

On black

9.59
#40C768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C768
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C768#FFFFFF#000000##000000
##40C7681.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B660
Deuteranopia (green-blind)
#B8AB6F
Tritanopia (blue-blind)
#00C3B1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c768;
/* rgb */ color: rgb(64, 199, 104);
/* oklch */ color: oklch(73.5% 0.177 149.4);
Tailwind
colors: {
  custom: {
    50: '#85d995',
    500: '#40c768',
    950: '#000000',
  },
}
SCSS
$custom: #40c768;
$custom-light: #85d995;
$custom-dark: #000000;
JSON
{
  "hex": "#40c768",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 104
  },
  "hsl": {
    "h": 137.778,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73525,
    "c": 0.1775,
    "h": 149.4
  },
  "luminance": 0.42936
}

Semantic roles & 50–950 ramp

primary
#40C768
secondary
#CF94BD
accent
#4AB2DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C768

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

Preview Lab → · Contrast checker → · Palette generator →

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