#40B41E#40B41E

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

Color values

HEX#40B41E
RGBrgb(64, 180, 30)
HSLhsl(106, 71%, 41%)
HSVhsv(106, 83%, 71%)
CMYKcmyk(64.4%, 0%, 83.3%, 29.4%)
CIE-LABlab(64.82, -57.73, 60.11)
CIE-LCHlch(64.82, 83.34, 133.84°)
OKLaboklab(67.78% -0.1585 0.1325)
OKLCHoklch(67.78% 0.207 140.1)
XYZxyz(18.6691, 33.8244, 6.7730)
Luminance0.3383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B41E #921EB4
analogous
#8BB41E #40B41E #1EB447
triadic
#40B41E #1E40B4 #B41E40
tetradic
#40B41E #1E8BB4 #921EB4 #B4471E
square
#40B41E #1E8BB4 #921EB4 #B4471E
split-complementary
#40B41E #471EB4 #B41E8B
monochromatic
#1B4B0D #2D8015 #40B41E #59DD32 #84E667

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #40b41e;
/* rgb */ color: rgb(64, 180, 30);
/* oklch */ color: oklch(67.8% 0.207 140.1);
Tailwind
colors: {
  custom: {
    50: '#84cb69',
    500: '#40b41e',
    950: '#000000',
  },
}
SCSS
$custom: #40b41e;
$custom-light: #84cb69;
$custom-dark: #000000;
JSON
{
  "hex": "#40b41e",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 30
  },
  "hsl": {
    "h": 106.4,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67781,
    "c": 0.20659,
    "h": 140.1
  },
  "luminance": 0.33826
}

Semantic roles & 50–950 ramp

primary
#40B41E
secondary
#B363CB
accent
#3AEEC5
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B41E

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

Preview Lab → · Contrast checker → · Palette generator →

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