#40BB2C#40BB2C

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

Color values

HEX#40BB2C
RGBrgb(64, 187, 44)
HSLhsl(112, 62%, 45%)
HSVhsv(112, 76%, 73%)
CMYKcmyk(65.8%, 0%, 76.5%, 26.7%)
CIE-LABlab(67.13, -59.28, 58.14)
CIE-LCHlch(67.13, 83.03, 135.55°)
OKLaboklab(69.72% -0.162 0.1304)
OKLCHoklch(69.72% 0.208 141.2)
XYZxyz(20.3382, 36.8104, 8.4157)
Luminance0.3681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BB2C #A72CBB
analogous
#88BB2C #40BB2C #2CBB5F
triadic
#40BB2C #2C40BB #BB2C40
tetradic
#40BB2C #2C88BB #A72CBB #BB5F2C
square
#40BB2C #2C88BB #A72CBB #BB5F2C
split-complementary
#40BB2C #5F2CBB #BB2C88
monochromatic
#1E5815 #2F8920 #40BB2C #62D64F #8EE180

Accessibility & contrast

On white

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

On black

8.36
#40BB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BB2C
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BB2C#FFFFFF#000000##000000
##40BB2C1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A908
Deuteranopia (green-blind)
#B1A03C
Tritanopia (blue-blind)
#29B5A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40bb2c;
/* rgb */ color: rgb(64, 187, 44);
/* oklch */ color: oklch(69.7% 0.208 141.2);
Tailwind
colors: {
  custom: {
    50: '#85d170',
    500: '#40bb2c',
    950: '#000000',
  },
}
SCSS
$custom: #40bb2c;
$custom-light: #85d170;
$custom-dark: #000000;
JSON
{
  "hex": "#40bb2c",
  "rgb": {
    "r": 64,
    "g": 187,
    "b": 44
  },
  "hsl": {
    "h": 111.608,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69718,
    "c": 0.20792,
    "h": 141.2
  },
  "luminance": 0.36812
}

Semantic roles & 50–950 ramp

primary
#40BB2C
secondary
#BF79CA
accent
#43E5CE
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40BB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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