#40A01B#40A01B

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

Color values

HEX#40A01B
RGBrgb(64, 160, 27)
HSLhsl(103, 71%, 37%)
HSVhsv(103, 83%, 63%)
CMYKcmyk(60%, 0%, 83.1%, 37.3%)
CIE-LABlab(58.33, -50.89, 54.99)
CIE-LCHlch(58.33, 74.93, 132.78°)
OKLaboklab(62.4% -0.1403 0.1214)
OKLCHoklch(62.4% 0.185 139.1)
XYZxyz(14.8824, 26.3094, 5.3307)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A01B #7B1BA0
analogous
#83A01B #40A01B #1BA038
triadic
#40A01B #1B40A0 #A01B40
tetradic
#40A01B #1B83A0 #7B1BA0 #A0381B
square
#40A01B #1B83A0 #7B1BA0 #A0381B
split-complementary
#40A01B #381BA0 #A01B83
monochromatic
#163709 #2B6C12 #40A01B #55D424 #7BE253

Accessibility & contrast

On white

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

On black

6.26
#40A01B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A01B
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A01B#FFFFFF#000000##000000
##40A01B1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40a01b;
/* rgb */ color: rgb(64, 160, 27);
/* oklch */ color: oklch(62.4% 0.185 139.1);
Tailwind
colors: {
  custom: {
    50: '#81bd65',
    500: '#40a01b',
    950: '#000000',
  },
}
SCSS
$custom: #40a01b;
$custom-light: #81bd65;
$custom-dark: #000000;
JSON
{
  "hex": "#40a01b",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 103.308,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62402,
    "c": 0.18549,
    "h": 139.1
  },
  "luminance": 0.26311
}

Semantic roles & 50–950 ramp

primary
#40A01B
secondary
#A552C5
accent
#3AEEBC
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #40A01B

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

Preview Lab → · Contrast checker → · Palette generator →

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