#40A026#40A026

#40A026 is a light, vivid green. Relative luminance 0.264; OKLCH L 62.5% C 0.180 H 140.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#40A026
RGBrgb(64, 160, 38)
HSLhsl(107, 62%, 39%)
HSVhsv(107, 76%, 63%)
CMYKcmyk(60%, 0%, 76.3%, 37.3%)
CIE-LABlab(58.39, -50.23, 51.60)
CIE-LCHlch(58.39, 72.00, 134.23°)
OKLaboklab(62.47% -0.1379 0.1159)
OKLCHoklch(62.47% 0.18 140)
XYZxyz(15.0343, 26.3702, 6.1310)
Luminance0.2637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A026 #8626A0
analogous
#7DA026 #40A026 #26A049
triadic
#40A026 #2640A0 #A02640
tetradic
#40A026 #267DA0 #8626A0 #A04926
square
#40A026 #267DA0 #8626A0 #A04926
split-complementary
#40A026 #4926A0 #A0267D
monochromatic
#183D0F #2C6F1A #40A026 #55CF34 #7FDB66

Accessibility & contrast

On white

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

On black

6.27
#40A026 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A026
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A026#FFFFFF#000000##000000
##40A0261.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5910B
Deuteranopia (green-blind)
#998933
Tritanopia (blue-blind)
#349B89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #40a026;
/* rgb */ color: rgb(64, 160, 38);
/* oklch */ color: oklch(62.5% 0.180 140.0);
Tailwind
colors: {
  custom: {
    50: '#80bd69',
    500: '#40a026',
    950: '#000000',
  },
}
SCSS
$custom: #40a026;
$custom-light: #80bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#40a026",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 38
  },
  "hsl": {
    "h": 107.213,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62467,
    "c": 0.18011,
    "h": 140
  },
  "luminance": 0.26372
}

Semantic roles & 50–950 ramp

primary
#40A026
secondary
#AC61C0
accent
#43E5C2
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A026

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

Preview Lab → · Contrast checker → · Palette generator →

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