#40BB3C#40BB3C

#40BB3C is a light, vivid green. Relative luminance 0.370; OKLCH L 69.8% C 0.198 H 142.7°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#40BB3C
RGBrgb(64, 187, 60)
HSLhsl(118, 51%, 48%)
HSVhsv(118, 68%, 73%)
CMYKcmyk(65.8%, 0%, 67.9%, 26.7%)
CIE-LABlab(67.24, -57.99, 52.35)
CIE-LCHlch(67.24, 78.12, 137.93°)
OKLaboklab(69.84% -0.1577 0.1203)
OKLCHoklch(69.84% 0.198 142.7)
XYZxyz(20.6991, 36.9548, 10.3162)
Luminance0.3696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BB3C #B73CBB
analogous
#7FBB3C #40BB3C #3CBB77
triadic
#40BB3C #3C40BB #BB3C40
tetradic
#40BB3C #3C7FBB #B73CBB #BB773C
square
#40BB3C #3C7FBB #B73CBB #BB773C
split-complementary
#40BB3C #773CBB #BB3C7F
monochromatic
#205E1E #308D2D #40BB3C #69CE66 #97DD95

Accessibility & contrast

On white

2.50
#40BB3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#40BB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BB3C
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BB3C#FFFFFF#000000##000000
##40BB3C1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2A
Deuteranopia (green-blind)
#B0A048
Tritanopia (blue-blind)
#25B6A1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #40bb3c;
/* rgb */ color: rgb(64, 187, 60);
/* oklch */ color: oklch(69.8% 0.198 142.7);
Tailwind
colors: {
  custom: {
    50: '#84d078',
    500: '#40bb3c',
    950: '#000000',
  },
}
SCSS
$custom: #40bb3c;
$custom-light: #84d078;
$custom-dark: #000000;
JSON
{
  "hex": "#40bb3c",
  "rgb": {
    "r": 64,
    "g": 187,
    "b": 60
  },
  "hsl": {
    "h": 118.11,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69843,
    "c": 0.19831,
    "h": 142.7
  },
  "luminance": 0.36957
}

Semantic roles & 50–950 ramp

primary
#40BB3C
secondary
#C68BC8
accent
#4DDBD6
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #40BB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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