#40B129#40B129

#40B129 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.0% C 0.198 H 140.7°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#40B129
RGBrgb(64, 177, 41)
HSLhsl(110, 62%, 43%)
HSVhsv(110, 77%, 69%)
CMYKcmyk(63.8%, 0%, 76.8%, 30.6%)
CIE-LABlab(63.91, -56.06, 55.99)
CIE-LCHlch(63.91, 79.23, 135.04°)
OKLaboklab(67.04% -0.1535 0.1255)
OKLCHoklch(67.04% 0.198 140.7)
XYZxyz(18.2358, 32.6926, 7.4467)
Luminance0.3269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B129 #9A29B1
analogous
#84B129 #40B129 #29B156
triadic
#40B129 #2940B1 #B12940
tetradic
#40B129 #2984B1 #9A29B1 #B15629
square
#40B129 #2984B1 #9A29B1 #B15629
split-complementary
#40B129 #5629B1 #B12984
monochromatic
#1C4E12 #2E7F1D #40B129 #5CD444 #87DF75

Accessibility & contrast

On white

2.79
#40B129 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#40B129 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B129
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B129#FFFFFF#000000##000000
##40B1291.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A007
Deuteranopia (green-blind)
#A89738
Tritanopia (blue-blind)
#2DAB97
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #40b129;
/* rgb */ color: rgb(64, 177, 41);
/* oklch */ color: oklch(67.0% 0.198 140.7);
Tailwind
colors: {
  custom: {
    50: '#83c96d',
    500: '#40b129',
    950: '#000000',
  },
}
SCSS
$custom: #40b129;
$custom-light: #83c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#40b129",
  "rgb": {
    "r": 64,
    "g": 177,
    "b": 41
  },
  "hsl": {
    "h": 109.853,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67043,
    "c": 0.19822,
    "h": 140.7
  },
  "luminance": 0.32694
}

Semantic roles & 50–950 ramp

primary
#40B129
secondary
#B86FC7
accent
#42E5CA
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B129

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

Preview Lab → · Contrast checker → · Palette generator →

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