#40A01C#40A01C

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

Color values

HEX#40A01C
RGBrgb(64, 160, 28)
HSLhsl(104, 70%, 37%)
HSVhsv(104, 83%, 63%)
CMYKcmyk(60%, 0%, 82.5%, 37.3%)
CIE-LABlab(58.33, -50.84, 54.71)
CIE-LCHlch(58.33, 74.69, 132.90°)
OKLaboklab(62.41% -0.1401 0.1209)
OKLCHoklch(62.41% 0.185 139.2)
XYZxyz(14.8941, 26.3141, 5.3926)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A01C #7C1CA0
analogous
#82A01C #40A01C #1CA03A
triadic
#40A01C #1C40A0 #A01C40
tetradic
#40A01C #1C82A0 #7C1CA0 #A03A1C
square
#40A01C #1C82A0 #7C1CA0 #A03A1C
split-complementary
#40A01C #3A1CA0 #A01C82
monochromatic
#16380A #2B6C13 #40A01C #55D425 #7BE155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A01C#FFFFFF#000000##000000
##40A01C1.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)
#99892D
Tritanopia (blue-blind)
#359A88
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #40a01c;
/* rgb */ color: rgb(64, 160, 28);
/* oklch */ color: oklch(62.4% 0.185 139.2);
Tailwind
colors: {
  custom: {
    50: '#81bd65',
    500: '#40a01c',
    950: '#000000',
  },
}
SCSS
$custom: #40a01c;
$custom-light: #81bd65;
$custom-dark: #000000;
JSON
{
  "hex": "#40a01c",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 103.636,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62407,
    "c": 0.18507,
    "h": 139.2
  },
  "luminance": 0.26315
}

Semantic roles & 50–950 ramp

primary
#40A01C
secondary
#A653C4
accent
#3BEDBC
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #40A01C

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

Preview Lab → · Contrast checker → · Palette generator →

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