#40BB2F#40BB2F

#40BB2F is a light, highly saturated green. Relative luminance 0.368; OKLCH L 69.7% C 0.206 H 141.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#40BB2F
RGBrgb(64, 187, 47)
HSLhsl(113, 60%, 46%)
HSVhsv(113, 75%, 73%)
CMYKcmyk(65.8%, 0%, 74.9%, 26.7%)
CIE-LABlab(67.15, -59.07, 57.15)
CIE-LCHlch(67.15, 82.19, 135.95°)
OKLaboklab(69.74% -0.1613 0.1287)
OKLCHoklch(69.74% 0.206 141.4)
XYZxyz(20.3967, 36.8338, 8.7235)
Luminance0.3684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BB2F #AA2FBB
analogous
#86BB2F #40BB2F #2FBB64
triadic
#40BB2F #2F40BB #BB2F40
tetradic
#40BB2F #2F86BB #AA2FBB #BB642F
square
#40BB2F #2F86BB #AA2FBB #BB642F
split-complementary
#40BB2F #642FBB #BB2F86
monochromatic
#1F5916 #2F8A23 #40BB2F #63D453 #8FE084

Accessibility & contrast

On white

2.51
#40BB2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#40BB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BB2F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BB2F#FFFFFF#000000##000000
##40BB2F1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA11
Deuteranopia (green-blind)
#B1A03E
Tritanopia (blue-blind)
#28B5A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40bb2f;
/* rgb */ color: rgb(64, 187, 47);
/* oklch */ color: oklch(69.7% 0.206 141.4);
Tailwind
colors: {
  custom: {
    50: '#85d171',
    500: '#40bb2f',
    950: '#000000',
  },
}
SCSS
$custom: #40bb2f;
$custom-light: #85d171;
$custom-dark: #000000;
JSON
{
  "hex": "#40bb2f",
  "rgb": {
    "r": 64,
    "g": 187,
    "b": 47
  },
  "hsl": {
    "h": 112.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69738,
    "c": 0.20632,
    "h": 141.4
  },
  "luminance": 0.36836
}

Semantic roles & 50–950 ramp

primary
#40BB2F
secondary
#C07CC9
accent
#45E3D0
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40BB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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