#40C043#40C043

#40C043 is a light, vivid green. Relative luminance 0.392; OKLCH L 71.2% C 0.199 H 143.4°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#40C043
RGBrgb(64, 192, 67)
HSLhsl(121, 50%, 50%)
HSVhsv(121, 67%, 75%)
CMYKcmyk(66.7%, 0%, 65.1%, 24.7%)
CIE-LABlab(68.89, -59.02, 51.24)
CIE-LCHlch(68.89, 78.16, 139.04°)
OKLaboklab(71.23% -0.1601 0.1187)
OKLCHoklch(71.23% 0.199 143.4)
XYZxyz(21.9758, 39.1922, 11.7158)
Luminance0.3920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C043 #C040BD
analogous
#7DC040 #40C043 #40C083
triadic
#40C043 #4340C0 #C04340
tetradic
#40C043 #407DC0 #C040BD #C08340
square
#40C043 #407DC0 #C040BD #C08340
split-complementary
#40C043 #8340C0 #C0407D
monochromatic
#216423 #309233 #40C043 #6ECF70 #9CDE9E

Accessibility & contrast

On white

2.38
#40C043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#40C043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C043
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C043#FFFFFF#000000##000000
##40C0431.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE33
Deuteranopia (green-blind)
#B5A44E
Tritanopia (blue-blind)
#1FBBA6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40c043;
/* rgb */ color: rgb(64, 192, 67);
/* oklch */ color: oklch(71.2% 0.199 143.4);
Tailwind
colors: {
  custom: {
    50: '#85d47c',
    500: '#40c043',
    950: '#000000',
  },
}
SCSS
$custom: #40c043;
$custom-light: #85d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#40c043",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 67
  },
  "hsl": {
    "h": 121.406,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71225,
    "c": 0.19934,
    "h": 143.4
  },
  "luminance": 0.39195
}

Semantic roles & 50–950 ramp

primary
#40C043
secondary
#CB91C9
accent
#4ED7DA
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #40C043

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

Preview Lab → · Contrast checker → · Palette generator →

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