#40A01F#40A01F

#40A01F is a light, vivid green. Relative luminance 0.263; OKLCH L 62.4% C 0.184 H 139.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#40A01F
RGBrgb(64, 160, 31)
HSLhsl(105, 68%, 37%)
HSVhsv(105, 81%, 63%)
CMYKcmyk(60%, 0%, 80.6%, 37.3%)
CIE-LABlab(58.35, -50.68, 53.85)
CIE-LCHlch(58.35, 73.94, 133.26°)
OKLaboklab(62.42% -0.1395 0.1196)
OKLCHoklch(62.42% 0.184 139.4)
XYZxyz(14.9318, 26.3292, 5.5912)
Luminance0.2633 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A01F #7F1FA0
analogous
#81A01F #40A01F #1FA03E
triadic
#40A01F #1F40A0 #A01F40
tetradic
#40A01F #1F81A0 #7F1FA0 #A03E1F
square
#40A01F #1F81A0 #7F1FA0 #A03E1F
split-complementary
#40A01F #3E1FA0 #A01F81
monochromatic
#17390B #2B6D15 #40A01F #55D329 #7CDF5A

Accessibility & contrast

On white

3.35
#40A01F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#40A01F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A01F
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A01F#FFFFFF#000000##000000
##40A01F1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#99892E
Tritanopia (blue-blind)
#349A88
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #40a01f;
/* rgb */ color: rgb(64, 160, 31);
/* oklch */ color: oklch(62.4% 0.184 139.4);
Tailwind
colors: {
  custom: {
    50: '#81bd66',
    500: '#40a01f',
    950: '#000000',
  },
}
SCSS
$custom: #40a01f;
$custom-light: #81bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#40a01f",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 104.651,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62423,
    "c": 0.18372,
    "h": 139.4
  },
  "luminance": 0.26331
}

Semantic roles & 50–950 ramp

primary
#40A01F
secondary
#A858C3
accent
#3DEABE
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #40A01F

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

Preview Lab → · Contrast checker → · Palette generator →

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