#40B416#40B416

#40B416 is a light, highly saturated green. Relative luminance 0.338; OKLCH L 67.7% C 0.209 H 139.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#40B416
RGBrgb(64, 180, 22)
HSLhsl(104, 78%, 40%)
HSVhsv(104, 88%, 71%)
CMYKcmyk(64.4%, 0%, 87.8%, 29.4%)
CIE-LABlab(64.79, -58.07, 61.94)
CIE-LCHlch(64.79, 84.90, 133.15°)
OKLaboklab(67.75% -0.1597 0.1354)
OKLCHoklch(67.75% 0.209 139.7)
XYZxyz(18.5796, 33.7886, 6.3016)
Luminance0.3379 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B416 #8A16B4
analogous
#8FB416 #40B416 #16B43B
triadic
#40B416 #1640B4 #B41640
tetradic
#40B416 #168FB4 #8A16B4 #B43B16
square
#40B416 #168FB4 #8A16B4 #B43B16
split-complementary
#40B416 #3B16B4 #B4168F
monochromatic
#194709 #2D7D0F #40B416 #56E423 #80EB5A

Accessibility & contrast

On white

2.71
#40B416 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#40B416 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B416
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B416#FFFFFF#000000##000000
##40B4161.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AB9A2D
Tritanopia (blue-blind)
#2FAE99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b416;
/* rgb */ color: rgb(64, 180, 22);
/* oklch */ color: oklch(67.7% 0.209 139.7);
Tailwind
colors: {
  custom: {
    50: '#85cb66',
    500: '#40b416',
    950: '#000000',
  },
}
SCSS
$custom: #40b416;
$custom-light: #85cb66;
$custom-dark: #000000;
JSON
{
  "hex": "#40b416",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 22
  },
  "hsl": {
    "h": 104.051,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67748,
    "c": 0.20935,
    "h": 139.7
  },
  "luminance": 0.3379
}

Semantic roles & 50–950 ramp

primary
#40B416
secondary
#AF58CE
accent
#33F5C1
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B416

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

Preview Lab → · Contrast checker → · Palette generator →

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