#40C02B#40C02B

#40C02B is a light, highly saturated green. Relative luminance 0.390; OKLCH L 71.0% C 0.214 H 141.2°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#40C02B
RGBrgb(64, 192, 43)
HSLhsl(112, 63%, 46%)
HSVhsv(112, 78%, 75%)
CMYKcmyk(66.7%, 0%, 77.6%, 24.7%)
CIE-LABlab(68.72, -61.01, 60.01)
CIE-LCHlch(68.72, 85.58, 135.48°)
OKLaboklab(71.03% -0.1667 0.1341)
OKLCHoklch(71.03% 0.214 141.2)
XYZxyz(21.3989, 38.9615, 8.6776)
Luminance0.3896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C02B #AB2BC0
analogous
#8AC02B #40C02B #2BC061
triadic
#40C02B #2B40C0 #C02B40
tetradic
#40C02B #2B8AC0 #AB2BC0 #C0612B
square
#40C02B #2B8AC0 #AB2BC0 #C0612B
split-complementary
#40C02B #612BC0 #C02B8A
monochromatic
#1F5C15 #2F8E20 #40C02B #63D850 #90E382

Accessibility & contrast

On white

2.39
#40C02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#40C02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C02B
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C02B#FFFFFF#000000##000000
##40C02B1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#B6A43C
Tritanopia (blue-blind)
#26BAA4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #40c02b;
/* rgb */ color: rgb(64, 192, 43);
/* oklch */ color: oklch(71.0% 0.214 141.2);
Tailwind
colors: {
  custom: {
    50: '#86d470',
    500: '#40c02b',
    950: '#000000',
  },
}
SCSS
$custom: #40c02b;
$custom-light: #86d470;
$custom-dark: #000000;
JSON
{
  "hex": "#40c02b",
  "rgb": {
    "r": 64,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 111.544,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71033,
    "c": 0.21397,
    "h": 141.2
  },
  "luminance": 0.38964
}

Semantic roles & 50–950 ramp

primary
#40C02B
secondary
#C17BCC
accent
#41E6CF
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0D1408
muted
#7D837B

Preview Lab

Preview with #40C02B

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

Preview Lab → · Contrast checker → · Palette generator →

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