#40AB26#40AB26

#40AB26 is a light, vivid green. Relative luminance 0.304; OKLCH L 65.4% C 0.193 H 140.3°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#40AB26
RGBrgb(64, 171, 38)
HSLhsl(108, 64%, 41%)
HSVhsv(108, 78%, 67%)
CMYKcmyk(62.6%, 0%, 77.8%, 32.9%)
CIE-LABlab(61.96, -54.17, 55.08)
CIE-LCHlch(61.96, 77.25, 134.52°)
OKLaboklab(65.42% -0.1485 0.1231)
OKLCHoklch(65.42% 0.193 140.3)
XYZxyz(17.0263, 30.3541, 6.7950)
Luminance0.3036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40AB26 #9126AB
analogous
#82AB26 #40AB26 #26AB4F
triadic
#40AB26 #2640AB #AB2640
tetradic
#40AB26 #2682AB #9126AB #AB4F26
square
#40AB26 #2682AB #9126AB #AB4F26
split-complementary
#40AB26 #4F26AB #AB2682
monochromatic
#1B4710 #2D791B #40AB26 #59D33B #83DF6D

Accessibility & contrast

On white

2.97
#40AB26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#40AB26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40AB26
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40AB26#FFFFFF#000000##000000
##40AB261.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B02
Deuteranopia (green-blind)
#A39235
Tritanopia (blue-blind)
#30A592
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40ab26;
/* rgb */ color: rgb(64, 171, 38);
/* oklch */ color: oklch(65.4% 0.193 140.3);
Tailwind
colors: {
  custom: {
    50: '#82c56b',
    500: '#40ab26',
    950: '#000000',
  },
}
SCSS
$custom: #40ab26;
$custom-light: #82c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#40ab26",
  "rgb": {
    "r": 64,
    "g": 171,
    "b": 38
  },
  "hsl": {
    "h": 108.271,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65421,
    "c": 0.19294,
    "h": 140.3
  },
  "luminance": 0.30356
}

Semantic roles & 50–950 ramp

primary
#40AB26
secondary
#B368C5
accent
#41E7C6
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40AB26

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

Preview Lab → · Contrast checker → · Palette generator →

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