#40B11F#40B11F

#40B11F is a light, highly saturated green. Relative luminance 0.326; OKLCH L 67.0% C 0.203 H 140.1°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#40B11F
RGBrgb(64, 177, 31)
HSLhsl(106, 70%, 41%)
HSVhsv(106, 82%, 69%)
CMYKcmyk(63.8%, 0%, 82.5%, 30.6%)
CIE-LABlab(63.86, -56.66, 58.96)
CIE-LCHlch(63.86, 81.77, 133.86°)
OKLaboklab(66.99% -0.1556 0.1303)
OKLCHoklch(66.99% 0.203 140.1)
XYZxyz(18.0830, 32.6314, 6.6416)
Luminance0.3263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B11F #901FB1
analogous
#89B11F #40B11F #1FB147
triadic
#40B11F #1F40B1 #B11F40
tetradic
#40B11F #1F89B1 #901FB1 #B1471F
square
#40B11F #1F89B1 #901FB1 #B1471F
split-complementary
#40B11F #471FB1 #B11F89
monochromatic
#1A490D #2D7D16 #40B11F #58DB32 #83E466

Accessibility & contrast

On white

2.79
#40B11F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#40B11F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B11F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B11F#FFFFFF#000000##000000
##40B11F1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#A89732
Tritanopia (blue-blind)
#2FAB97
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b11f;
/* rgb */ color: rgb(64, 177, 31);
/* oklch */ color: oklch(67.0% 0.203 140.1);
Tailwind
colors: {
  custom: {
    50: '#84c969',
    500: '#40b11f',
    950: '#000000',
  },
}
SCSS
$custom: #40b11f;
$custom-light: #84c969;
$custom-dark: #000000;
JSON
{
  "hex": "#40b11f",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 31
  },
  "hsl": {
    "h": 106.438,
    "s": 70.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66986,
    "c": 0.2029,
    "h": 140.1
  },
  "luminance": 0.32633
}

Semantic roles & 50–950 ramp

primary
#40B11F
secondary
#B262CA
accent
#3BEDC5
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B11F

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

Preview Lab → · Contrast checker → · Palette generator →

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