#40B22E#40B22E

#40B22E is a light, vivid green. Relative luminance 0.331; OKLCH L 67.3% C 0.197 H 141.2°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#40B22E
RGBrgb(64, 178, 46)
HSLhsl(112, 59%, 44%)
HSVhsv(112, 74%, 70%)
CMYKcmyk(64%, 0%, 74.2%, 30.2%)
CIE-LABlab(64.26, -56.05, 54.61)
CIE-LCHlch(64.26, 78.26, 135.75°)
OKLaboklab(67.34% -0.1532 0.1233)
OKLCHoklch(67.34% 0.197 141.2)
XYZxyz(18.5269, 33.1262, 8.0019)
Luminance0.3313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B22E #A02EB2
analogous
#82B22E #40B22E #2EB25E
triadic
#40B22E #2E40B2 #B22E40
tetradic
#40B22E #2E82B2 #A02EB2 #B25E2E
square
#40B22E #2E82B2 #A02EB2 #B25E2E
split-complementary
#40B22E #5E2EB2 #B22E82
monochromatic
#1D5115 #2F8121 #40B22E #5ED14C #8ADD7D

Accessibility & contrast

On white

2.75
#40B22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#40B22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B22E
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B22E#FFFFFF#000000##000000
##40B22E1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A114
Deuteranopia (green-blind)
#A9983C
Tritanopia (blue-blind)
#2CAC99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #40b22e;
/* rgb */ color: rgb(64, 178, 46);
/* oklch */ color: oklch(67.3% 0.197 141.2);
Tailwind
colors: {
  custom: {
    50: '#83ca6f',
    500: '#40b22e',
    950: '#000000',
  },
}
SCSS
$custom: #40b22e;
$custom-light: #83ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b22e",
  "rgb": {
    "r": 64,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 111.818,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67344,
    "c": 0.19661,
    "h": 141.2
  },
  "luminance": 0.33128
}

Semantic roles & 50–950 ramp

primary
#40B22E
secondary
#BB76C6
accent
#46E2CD
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B22E

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

Preview Lab → · Contrast checker → · Palette generator →

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