#40BF2A#40BF2A

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

Color values

HEX#40BF2A
RGBrgb(64, 191, 42)
HSLhsl(111, 64%, 46%)
HSVhsv(111, 78%, 75%)
CMYKcmyk(66.5%, 0%, 78%, 25.1%)
CIE-LABlab(68.40, -60.74, 60.01)
CIE-LCHlch(68.40, 85.39, 135.35°)
OKLaboklab(70.76% -0.166 0.134)
OKLCHoklch(70.76% 0.213 141.1)
XYZxyz(21.1620, 38.5166, 8.5092)
Luminance0.3852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF2A #A92ABF
analogous
#8ABF2A #40BF2A #2ABF5E
triadic
#40BF2A #2A40BF #BF2A40
tetradic
#40BF2A #2A8ABF #A92ABF #BF5E2A
square
#40BF2A #2A8ABF #A92ABF #BF5E2A
split-complementary
#40BF2A #5E2ABF #BF2A8A
monochromatic
#1E5B14 #2F8D1F #40BF2A #62D84E #8FE380

Accessibility & contrast

On white

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

On black

8.70
#40BF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BF2A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BF2A#FFFFFF#000000##000000
##40BF2A1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#27B9A3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #40bf2a;
/* rgb */ color: rgb(64, 191, 42);
/* oklch */ color: oklch(70.8% 0.213 141.1);
Tailwind
colors: {
  custom: {
    50: '#86d36f',
    500: '#40bf2a',
    950: '#000000',
  },
}
SCSS
$custom: #40bf2a;
$custom-light: #86d36f;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf2a",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 42
  },
  "hsl": {
    "h": 111.141,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70763,
    "c": 0.21336,
    "h": 141.1
  },
  "luminance": 0.38519
}

Semantic roles & 50–950 ramp

primary
#40BF2A
secondary
#C079CC
accent
#41E7CE
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0D1408
muted
#7D837B

Preview Lab

Preview with #40BF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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