#40A718#40A718

#40A718 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.3% C 0.195 H 139.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#40A718
RGBrgb(64, 167, 24)
HSLhsl(103, 75%, 37%)
HSVhsv(103, 86%, 65%)
CMYKcmyk(61.7%, 0%, 85.6%, 34.5%)
CIE-LABlab(60.60, -53.53, 57.81)
CIE-LCHlch(60.60, 78.78, 132.80°)
OKLaboklab(64.27% -0.1475 0.1269)
OKLCHoklch(64.27% 0.195 139.3)
XYZxyz(16.0972, 28.7919, 5.5731)
Luminance0.2879 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A718 #7F18A7
analogous
#87A718 #40A718 #18A738
triadic
#40A718 #1840A7 #A71840
tetradic
#40A718 #1887A7 #7F18A7 #A73818
square
#40A718 #1887A7 #7F18A7 #A73818
split-complementary
#40A718 #3818A7 #A71887
monochromatic
#173C09 #2B7110 #40A718 #55DD20 #7CE653

Accessibility & contrast

On white

3.11
#40A718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#40A718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A718
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A718#FFFFFF#000000##000000
##40A7181.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A08F2C
Tritanopia (blue-blind)
#33A18E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a718;
/* rgb */ color: rgb(64, 167, 24);
/* oklch */ color: oklch(64.3% 0.195 139.3);
Tailwind
colors: {
  custom: {
    50: '#82c265',
    500: '#40a718',
    950: '#000000',
  },
}
SCSS
$custom: #40a718;
$custom-light: #82c265;
$custom-dark: #000000;
JSON
{
  "hex": "#40a718",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 24
  },
  "hsl": {
    "h": 103.217,
    "s": 74.869,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64274,
    "c": 0.19454,
    "h": 139.3
  },
  "luminance": 0.28793
}

Semantic roles & 50–950 ramp

primary
#40A718
secondary
#A852C9
accent
#36F1BD
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #40A718

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

Preview Lab → · Contrast checker → · Palette generator →

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