#40C059#40C059

#40C059 is a light, vivid green. Relative luminance 0.395; OKLCH L 71.5% C 0.182 H 146.8°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#40C059
RGBrgb(64, 192, 89)
HSLhsl(132, 50%, 50%)
HSVhsv(132, 67%, 75%)
CMYKcmyk(66.7%, 0%, 53.6%, 24.7%)
CIE-LABlab(69.12, -56.37, 41.49)
CIE-LCHlch(69.12, 69.99, 143.65°)
OKLaboklab(71.49% -0.1521 0.0995)
OKLCHoklch(71.49% 0.182 146.8)
XYZxyz(22.7656, 39.5081, 15.8753)
Luminance0.3951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C059 #C040A7
analogous
#67C040 #40C059 #40C099
triadic
#40C059 #5940C0 #C05940
tetradic
#40C059 #4067C0 #C040A7 #C09940
square
#40C059 #4067C0 #C040A7 #C09940
split-complementary
#40C059 #9940C0 #C04067
monochromatic
#21642E #309243 #40C059 #6ECF81 #9CDEA9

Accessibility & contrast

On white

2.36
#40C059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#40C059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C059
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C059#FFFFFF#000000##000000
##40C0591.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF50
Deuteranopia (green-blind)
#B3A461
Tritanopia (blue-blind)
#12BCA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #40c059;
/* rgb */ color: rgb(64, 192, 89);
/* oklch */ color: oklch(71.5% 0.182 146.8);
Tailwind
colors: {
  custom: {
    50: '#84d48a',
    500: '#40c059',
    950: '#000000',
  },
}
SCSS
$custom: #40c059;
$custom-light: #84d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#40c059",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 131.719,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71487,
    "c": 0.18178,
    "h": 146.8
  },
  "luminance": 0.39511
}

Semantic roles & 50–950 ramp

primary
#40C059
secondary
#CB91BF
accent
#4EBFDA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #40C059

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

Preview Lab → · Contrast checker → · Palette generator →

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