#40B41C#40B41C

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

Color values

HEX#40B41C
RGBrgb(64, 180, 28)
HSLhsl(106, 73%, 41%)
HSVhsv(106, 84%, 71%)
CMYKcmyk(64.4%, 0%, 84.4%, 29.4%)
CIE-LABlab(64.82, -57.82, 60.60)
CIE-LCHlch(64.82, 83.76, 133.66°)
OKLaboklab(67.77% -0.1588 0.1333)
OKLCHoklch(67.77% 0.207 140)
XYZxyz(18.6443, 33.8145, 6.6427)
Luminance0.3382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B41C #901CB4
analogous
#8CB41C #40B41C #1CB444
triadic
#40B41C #1C40B4 #B41C40
tetradic
#40B41C #1C8CB4 #901CB4 #B4441C
square
#40B41C #1C8CB4 #901CB4 #B4441C
split-complementary
#40B41C #441CB4 #B41C8C
monochromatic
#1A4A0C #2D7F14 #40B41C #58DF2F #83E764

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #40b41c;
/* rgb */ color: rgb(64, 180, 28);
/* oklch */ color: oklch(67.8% 0.207 140.0);
Tailwind
colors: {
  custom: {
    50: '#84cb68',
    500: '#40b41c',
    950: '#000000',
  },
}
SCSS
$custom: #40b41c;
$custom-light: #84cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#40b41c",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 105.789,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67772,
    "c": 0.20735,
    "h": 140
  },
  "luminance": 0.33816
}

Semantic roles & 50–950 ramp

primary
#40B41C
secondary
#B260CC
accent
#38F0C4
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B41C

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

Preview Lab → · Contrast checker → · Palette generator →

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