#40B42E#40B42E

#40B42E is a light, vivid green. Relative luminance 0.339; OKLCH L 67.9% C 0.199 H 141.2°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#40B42E
RGBrgb(64, 180, 46)
HSLhsl(112, 59%, 44%)
HSVhsv(112, 74%, 71%)
CMYKcmyk(64.4%, 0%, 74.4%, 29.4%)
CIE-LABlab(64.91, -56.75, 55.25)
CIE-LCHlch(64.91, 79.20, 135.76°)
OKLaboklab(67.88% -0.155 0.1246)
OKLCHoklch(67.88% 0.199 141.2)
XYZxyz(18.9278, 33.9279, 8.1355)
Luminance0.3393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B42E #A22EB4
analogous
#83B42E #40B42E #2EB45F
triadic
#40B42E #2E40B4 #B42E40
tetradic
#40B42E #2E83B4 #A22EB4 #B45F2E
square
#40B42E #2E83B4 #A22EB4 #B45F2E
split-complementary
#40B42E #5F2EB4 #B42E83
monochromatic
#1D5315 #2F8322 #40B42E #5FD24E #8BDE7E

Accessibility & contrast

On white

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

On black

7.79
#40B42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B42E
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B42E#FFFFFF#000000##000000
##40B42E1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A313
Deuteranopia (green-blind)
#AB9A3C
Tritanopia (blue-blind)
#2BAE9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b42e;
/* rgb */ color: rgb(64, 180, 46);
/* oklch */ color: oklch(67.9% 0.199 141.2);
Tailwind
colors: {
  custom: {
    50: '#84cb70',
    500: '#40b42e',
    950: '#000000',
  },
}
SCSS
$custom: #40b42e;
$custom-light: #84cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#40b42e",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 111.94,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67875,
    "c": 0.19891,
    "h": 141.2
  },
  "luminance": 0.3393
}

Semantic roles & 50–950 ramp

primary
#40B42E
secondary
#BC77C7
accent
#45E2CD
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B42E

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

Preview Lab → · Contrast checker → · Palette generator →

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