#40B421#40B421

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

Color values

HEX#40B421
RGBrgb(64, 180, 33)
HSLhsl(107, 69%, 42%)
HSVhsv(107, 82%, 71%)
CMYKcmyk(64.4%, 0%, 81.7%, 29.4%)
CIE-LABlab(64.84, -57.58, 59.31)
CIE-LCHlch(64.84, 82.66, 134.15°)
OKLaboklab(67.8% -0.1579 0.1313)
OKLCHoklch(67.8% 0.205 140.3)
XYZxyz(18.7092, 33.8405, 6.9844)
Luminance0.3384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B421 #9521B4
analogous
#8AB421 #40B421 #21B44C
triadic
#40B421 #2140B4 #B42140
tetradic
#40B421 #218AB4 #9521B4 #B44C21
square
#40B421 #218AB4 #9521B4 #B44C21
split-complementary
#40B421 #4C21B4 #B4218A
monochromatic
#1B4D0E #2E8018 #40B421 #5ADA38 #85E46B

Accessibility & contrast

On white

2.70
#40B421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#40B421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B421
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B421#FFFFFF#000000##000000
##40B4211.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40b421;
/* rgb */ color: rgb(64, 180, 33);
/* oklch */ color: oklch(67.8% 0.205 140.3);
Tailwind
colors: {
  custom: {
    50: '#84cb6a',
    500: '#40b421',
    950: '#000000',
  },
}
SCSS
$custom: #40b421;
$custom-light: #84cb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#40b421",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 107.347,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67796,
    "c": 0.20536,
    "h": 140.3
  },
  "luminance": 0.33842
}

Semantic roles & 50–950 ramp

primary
#40B421
secondary
#B567CA
accent
#3CECC7
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B421

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

Preview Lab → · Contrast checker → · Palette generator →

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