#40BF2E#40BF2E

#40BF2E is a light, highly saturated green. Relative luminance 0.385; OKLCH L 70.8% C 0.211 H 141.4°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#40BF2E
RGBrgb(64, 191, 46)
HSLhsl(113, 61%, 46%)
HSVhsv(113, 76%, 75%)
CMYKcmyk(66.5%, 0%, 75.9%, 25.1%)
CIE-LABlab(68.42, -60.48, 58.74)
CIE-LCHlch(68.42, 84.31, 135.84°)
OKLaboklab(70.79% -0.1651 0.1319)
OKLCHoklch(70.79% 0.211 141.4)
XYZxyz(21.2372, 38.5467, 8.9053)
Luminance0.3855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF2E #AD2EBF
analogous
#89BF2E #40BF2E #2EBF65
triadic
#40BF2E #2E40BF #BF2E40
tetradic
#40BF2E #2E89BF #AD2EBF #BF652E
square
#40BF2E #2E89BF #AD2EBF #BF652E
split-complementary
#40BF2E #652EBF #BF2E89
monochromatic
#1F5C16 #2F8E22 #40BF2E #64D654 #91E286

Accessibility & contrast

On white

2.41
#40BF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#40BF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BF2E
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BF2E#FFFFFF#000000##000000
##40BF2E1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD0B
Deuteranopia (green-blind)
#B5A33E
Tritanopia (blue-blind)
#26B9A4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #40bf2e;
/* rgb */ color: rgb(64, 191, 46);
/* oklch */ color: oklch(70.8% 0.211 141.4);
Tailwind
colors: {
  custom: {
    50: '#86d371',
    500: '#40bf2e',
    950: '#000000',
  },
}
SCSS
$custom: #40bf2e;
$custom-light: #86d371;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf2e",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 46
  },
  "hsl": {
    "h": 112.552,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70788,
    "c": 0.21134,
    "h": 141.4
  },
  "luminance": 0.38549
}

Semantic roles & 50–950 ramp

primary
#40BF2E
secondary
#C27ECB
accent
#44E4D0
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0D1408
muted
#7D837B

Preview Lab

Preview with #40BF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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