#40B41B#40B41B

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

Color values

HEX#40B41B
RGBrgb(64, 180, 27)
HSLhsl(105, 74%, 41%)
HSVhsv(105, 85%, 71%)
CMYKcmyk(64.4%, 0%, 85%, 29.4%)
CIE-LABlab(64.81, -57.87, 60.84)
CIE-LCHlch(64.81, 83.97, 133.56°)
OKLaboklab(67.77% -0.159 0.1337)
OKLCHoklch(67.77% 0.208 139.9)
XYZxyz(18.6326, 33.8098, 6.5807)
Luminance0.3381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B41B #8F1BB4
analogous
#8CB41B #40B41B #1BB442
triadic
#40B41B #1B40B4 #B41B40
tetradic
#40B41B #1B8CB4 #8F1BB4 #B4421B
square
#40B41B #1B8CB4 #8F1BB4 #B4421B
split-complementary
#40B41B #421BB4 #B41B8C
monochromatic
#1A4A0B #2D7F13 #40B41B #58DF2D #82E762

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #40b41b;
/* rgb */ color: rgb(64, 180, 27);
/* oklch */ color: oklch(67.8% 0.208 139.9);
Tailwind
colors: {
  custom: {
    50: '#84cb68',
    500: '#40b41b',
    950: '#000000',
  },
}
SCSS
$custom: #40b41b;
$custom-light: #84cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#40b41b",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 105.49,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67768,
    "c": 0.20771,
    "h": 139.9
  },
  "luminance": 0.33812
}

Semantic roles & 50–950 ramp

primary
#40B41B
secondary
#B25FCC
accent
#37F1C4
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B41B

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

Preview Lab → · Contrast checker → · Palette generator →

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