#40BF2F#40BF2F

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

Color values

HEX#40BF2F
RGBrgb(64, 191, 47)
HSLhsl(113, 61%, 47%)
HSVhsv(113, 75%, 75%)
CMYKcmyk(66.5%, 0%, 75.4%, 25.1%)
CIE-LABlab(68.43, -60.41, 58.41)
CIE-LCHlch(68.43, 84.03, 135.96°)
OKLaboklab(70.8% -0.1649 0.1313)
OKLCHoklch(70.8% 0.211 141.5)
XYZxyz(21.2571, 38.5546, 9.0103)
Luminance0.3856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BF2F #AE2FBF
analogous
#88BF2F #40BF2F #2FBF66
triadic
#40BF2F #2F40BF #BF2F40
tetradic
#40BF2F #2F88BF #AE2FBF #BF662F
square
#40BF2F #2F88BF #AE2FBF #BF662F
split-complementary
#40BF2F #662FBF #BF2F88
monochromatic
#1F5D17 #308E23 #40BF2F #65D556 #92E187

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BF2F#FFFFFF#000000##000000
##40BF2F1.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)
#C4AD0F
Deuteranopia (green-blind)
#B5A33F
Tritanopia (blue-blind)
#26B9A4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #40bf2f;
/* rgb */ color: rgb(64, 191, 47);
/* oklch */ color: oklch(70.8% 0.211 141.5);
Tailwind
colors: {
  custom: {
    50: '#86d372',
    500: '#40bf2f',
    950: '#000000',
  },
}
SCSS
$custom: #40bf2f;
$custom-light: #86d372;
$custom-dark: #000000;
JSON
{
  "hex": "#40bf2f",
  "rgb": {
    "r": 64,
    "g": 191,
    "b": 47
  },
  "hsl": {
    "h": 112.917,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70795,
    "c": 0.2108,
    "h": 141.5
  },
  "luminance": 0.38557
}

Semantic roles & 50–950 ramp

primary
#40BF2F
secondary
#C27FCB
accent
#44E4D1
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0D1408
muted
#7D837B

Preview Lab

Preview with #40BF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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