#40B418#40B418

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

Color values

HEX#40B418
RGBrgb(64, 180, 24)
HSLhsl(105, 76%, 40%)
HSVhsv(105, 87%, 71%)
CMYKcmyk(64.4%, 0%, 86.7%, 29.4%)
CIE-LABlab(64.80, -57.99, 61.52)
CIE-LCHlch(64.80, 84.55, 133.31°)
OKLaboklab(67.76% -0.1594 0.1347)
OKLCHoklch(67.76% 0.209 139.8)
XYZxyz(18.5996, 33.7966, 6.4072)
Luminance0.3380 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B418 #8C18B4
analogous
#8EB418 #40B418 #18B43E
triadic
#40B418 #1840B4 #B41840
tetradic
#40B418 #188EB4 #8C18B4 #B43E18
square
#40B418 #188EB4 #8C18B4 #B43E18
split-complementary
#40B418 #3E18B4 #B4188E
monochromatic
#1A480A #2D7E11 #40B418 #57E227 #81E95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B418#FFFFFF#000000##000000
##40B4181.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)
#AB9A2E
Tritanopia (blue-blind)
#2EAE99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b418;
/* rgb */ color: rgb(64, 180, 24);
/* oklch */ color: oklch(67.8% 0.209 139.8);
Tailwind
colors: {
  custom: {
    50: '#85cb67',
    500: '#40b418',
    950: '#000000',
  },
}
SCSS
$custom: #40b418;
$custom-light: #85cb67;
$custom-dark: #000000;
JSON
{
  "hex": "#40b418",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 104.615,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.67756,
    "c": 0.20873,
    "h": 139.8
  },
  "luminance": 0.33798
}

Semantic roles & 50–950 ramp

primary
#40B418
secondary
#B05BCD
accent
#35F3C2
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B418

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

Preview Lab → · Contrast checker → · Palette generator →

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