#40A017#40A017

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

Color values

HEX#40A017
RGBrgb(64, 160, 23)
HSLhsl(102, 75%, 36%)
HSVhsv(102, 86%, 63%)
CMYKcmyk(60%, 0%, 85.6%, 37.3%)
CIE-LABlab(58.31, -51.08, 56.02)
CIE-LCHlch(58.31, 75.81, 132.36°)
OKLaboklab(62.38% -0.141 0.123)
OKLCHoklch(62.38% 0.187 138.9)
XYZxyz(14.8392, 26.2921, 5.1033)
Luminance0.2629 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A017 #7717A0
analogous
#84A017 #40A017 #17A033
triadic
#40A017 #1740A0 #A01740
tetradic
#40A017 #1784A0 #7717A0 #A03317
square
#40A017 #1784A0 #7717A0 #A03317
split-complementary
#40A017 #3317A0 #A01784
monochromatic
#153508 #2B6A0F #40A017 #55D61F #7AE54C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #40a017;
/* rgb */ color: rgb(64, 160, 23);
/* oklch */ color: oklch(62.4% 0.187 138.9);
Tailwind
colors: {
  custom: {
    50: '#81bd63',
    500: '#40a017',
    950: '#000000',
  },
}
SCSS
$custom: #40a017;
$custom-light: #81bd63;
$custom-dark: #000000;
JSON
{
  "hex": "#40a017",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 102.044,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62383,
    "c": 0.18707,
    "h": 138.9
  },
  "luminance": 0.26293
}

Semantic roles & 50–950 ramp

primary
#40A017
secondary
#A24CC7
accent
#36F1B9
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #40A017

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

Preview Lab → · Contrast checker → · Palette generator →

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