#40B415#40B415

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

Color values

HEX#40B415
RGBrgb(64, 180, 21)
HSLhsl(104, 79%, 39%)
HSVhsv(104, 88%, 71%)
CMYKcmyk(64.4%, 0%, 88.3%, 29.4%)
CIE-LABlab(64.79, -58.11, 62.14)
CIE-LCHlch(64.79, 85.07, 133.08°)
OKLaboklab(67.75% -0.1598 0.1357)
OKLCHoklch(67.75% 0.21 139.7)
XYZxyz(18.5701, 33.7848, 6.2518)
Luminance0.3379 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B415 #8915B4
analogous
#8FB415 #40B415 #15B43A
triadic
#40B415 #1540B4 #B41540
tetradic
#40B415 #158FB4 #8915B4 #B43A15
square
#40B415 #158FB4 #8915B4 #B43A15
split-complementary
#40B415 #3A15B4 #B4158F
monochromatic
#194608 #2D7D0F #40B415 #56E521 #80EC58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B415#FFFFFF#000000##000000
##40B4151.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)
#AC9A2D
Tritanopia (blue-blind)
#2FAE99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b415;
/* rgb */ color: rgb(64, 180, 21);
/* oklch */ color: oklch(67.7% 0.210 139.7);
Tailwind
colors: {
  custom: {
    50: '#85cb66',
    500: '#40b415',
    950: '#000000',
  },
}
SCSS
$custom: #40b415;
$custom-light: #85cb66;
$custom-dark: #000000;
JSON
{
  "hex": "#40b415",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 21
  },
  "hsl": {
    "h": 103.774,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67745,
    "c": 0.20965,
    "h": 139.7
  },
  "luminance": 0.33787
}

Semantic roles & 50–950 ramp

primary
#40B415
secondary
#AE56CF
accent
#32F6C1
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B415

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

Preview Lab → · Contrast checker → · Palette generator →

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