#40A015#40A015

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

Color values

HEX#40A015
RGBrgb(64, 160, 21)
HSLhsl(101, 77%, 35%)
HSVhsv(101, 87%, 63%)
CMYKcmyk(60%, 0%, 86.9%, 37.3%)
CIE-LABlab(58.31, -51.17, 56.49)
CIE-LCHlch(58.31, 76.22, 132.17°)
OKLaboklab(62.38% -0.1413 0.1237)
OKLCHoklch(62.38% 0.188 138.8)
XYZxyz(14.8199, 26.2844, 5.0017)
Luminance0.2629 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A015 #7515A0
analogous
#85A015 #40A015 #15A02F
triadic
#40A015 #1540A0 #A01540
tetradic
#40A015 #1585A0 #7515A0 #A02F15
square
#40A015 #1585A0 #7515A0 #A02F15
split-complementary
#40A015 #2F15A0 #A01585
monochromatic
#153407 #2A6A0E #40A015 #56D61C #79E748

Accessibility & contrast

On white

3.36
#40A015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A015#FFFFFF#000000##000000
##40A0151.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40a015;
/* rgb */ color: rgb(64, 160, 21);
/* oklch */ color: oklch(62.4% 0.188 138.8);
Tailwind
colors: {
  custom: {
    50: '#81bd62',
    500: '#40a015',
    950: '#000000',
  },
}
SCSS
$custom: #40a015;
$custom-light: #81bd62;
$custom-dark: #000000;
JSON
{
  "hex": "#40a015",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 101.439,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62375,
    "c": 0.18778,
    "h": 138.8
  },
  "luminance": 0.26286
}

Semantic roles & 50–950 ramp

primary
#40A015
secondary
#A149C8
accent
#34F3B8
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #40A015

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

Preview Lab → · Contrast checker → · Palette generator →

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