#40CB2D#40CB2D

#40CB2D is a light, highly saturated green. Relative luminance 0.440; OKLCH L 73.9% C 0.225 H 141.5°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#40CB2D
RGBrgb(64, 203, 45)
HSLhsl(113, 64%, 49%)
HSVhsv(113, 78%, 80%)
CMYKcmyk(68.5%, 0%, 77.8%, 20.4%)
CIE-LABlab(72.22, -64.49, 62.75)
CIE-LCHlch(72.22, 89.98, 135.78°)
OKLaboklab(73.94% -0.176 0.1401)
OKLCHoklch(73.94% 0.225 141.5)
XYZxyz(23.9426, 43.9888, 9.7110)
Luminance0.4399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CB2D #B82DCB
analogous
#8FCB2D #40CB2D #2DCB69
triadic
#40CB2D #2D40CB #CB2D40
tetradic
#40CB2D #2D8FCB #B82DCB #CB692D
square
#40CB2D #2D8FCB #B82DCB #CB692D
split-complementary
#40CB2D #692DCB #CB2D8F
monochromatic
#206717 #309922 #40CB2D #6ADB5B #97E68D

Accessibility & contrast

On white

2.14
#40CB2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#40CB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CB2D
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CB2D#FFFFFF#000000##000000
##40CB2D1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#1FC5AE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40cb2d;
/* rgb */ color: rgb(64, 203, 45);
/* oklch */ color: oklch(73.9% 0.225 141.5);
Tailwind
colors: {
  custom: {
    50: '#88dc72',
    500: '#40cb2d',
    950: '#000000',
  },
}
SCSS
$custom: #40cb2d;
$custom-light: #88dc72;
$custom-dark: #000000;
JSON
{
  "hex": "#40cb2d",
  "rgb": {
    "r": 64,
    "g": 203,
    "b": 45
  },
  "hsl": {
    "h": 112.785,
    "s": 63.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73937,
    "c": 0.22495,
    "h": 141.5
  },
  "luminance": 0.43991
}

Semantic roles & 50–950 ramp

primary
#40CB2D
secondary
#C784D0
accent
#41E7D3
background
#F9FDF7
surface
#F1FBED
border
#CBD4C8
text
#0D1509
muted
#7E837B

Preview Lab

Preview with #40CB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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