#40B026#40B026

#40B026 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.8% C 0.199 H 140.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#40B026
RGBrgb(64, 176, 38)
HSLhsl(109, 64%, 42%)
HSVhsv(109, 78%, 69%)
CMYKcmyk(63.6%, 0%, 78.4%, 31%)
CIE-LABlab(63.57, -55.91, 56.63)
CIE-LCHlch(63.57, 79.59, 134.63°)
OKLaboklab(66.76% -0.1532 0.1264)
OKLCHoklch(66.76% 0.199 140.5)
XYZxyz(17.9887, 32.2788, 7.1158)
Luminance0.3228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B026 #9626B0
analogous
#85B026 #40B026 #26B051
triadic
#40B026 #2640B0 #B02640
tetradic
#40B026 #2685B0 #9626B0 #B05126
square
#40B026 #2685B0 #9626B0 #B05126
split-complementary
#40B026 #5126B0 #B02685
monochromatic
#1B4B10 #2E7E1B #40B026 #5AD53E #85E070

Accessibility & contrast

On white

2.82
#40B026 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#40B026 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B026
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B026#FFFFFF#000000##000000
##40B0261.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#A79736
Tritanopia (blue-blind)
#2EAA96
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40b026;
/* rgb */ color: rgb(64, 176, 38);
/* oklch */ color: oklch(66.8% 0.199 140.5);
Tailwind
colors: {
  custom: {
    50: '#83c96b',
    500: '#40b026',
    950: '#000000',
  },
}
SCSS
$custom: #40b026;
$custom-light: #83c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#40b026",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 38
  },
  "hsl": {
    "h": 108.696,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66757,
    "c": 0.19862,
    "h": 140.5
  },
  "luminance": 0.32281
}

Semantic roles & 50–950 ramp

primary
#40B026
secondary
#B66BC7
accent
#40E7C8
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #40B026

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

Preview Lab → · Contrast checker → · Palette generator →

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