#40B041#40B041

#40B041 is a light, vivid green. Relative luminance 0.325; OKLCH L 67.0% C 0.181 H 143.3°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#40B041
RGBrgb(64, 176, 65)
HSLhsl(121, 47%, 47%)
HSVhsv(121, 64%, 69%)
CMYKcmyk(63.6%, 0%, 63.1%, 31%)
CIE-LABlab(63.77, -53.59, 46.41)
CIE-LCHlch(63.77, 70.90, 139.10°)
OKLaboklab(66.99% -0.1455 0.1083)
OKLCHoklch(66.99% 0.181 143.3)
XYZxyz(18.5927, 32.5205, 10.2973)
Luminance0.3252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B041 #B040AF
analogous
#77B040 #40B041 #40B079
triadic
#40B041 #4140B0 #B04140
tetradic
#40B041 #4077B0 #B040AF #B07940
square
#40B041 #4077B0 #B040AF #B07940
split-complementary
#40B041 #7940B0 #B04077
monochromatic
#1F5620 #308330 #40B041 #66C767 #93D893

Accessibility & contrast

On white

2.80
#40B041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#40B041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B041
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B041#FFFFFF#000000##000000
##40B0411.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A034
Deuteranopia (green-blind)
#A6974A
Tritanopia (blue-blind)
#28AB99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #40b041;
/* rgb */ color: rgb(64, 176, 65);
/* oklch */ color: oklch(67.0% 0.181 143.3);
Tailwind
colors: {
  custom: {
    50: '#82c97a',
    500: '#40b041',
    950: '#000000',
  },
}
SCSS
$custom: #40b041;
$custom-light: #82c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#40b041",
  "rgb": {
    "r": 64,
    "g": 176,
    "b": 65
  },
  "hsl": {
    "h": 120.536,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.66985,
    "c": 0.18136,
    "h": 143.3
  },
  "luminance": 0.32522
}

Semantic roles & 50–950 ramp

primary
#40B041
secondary
#C389C2
accent
#51D5D6
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #40B041

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

Preview Lab → · Contrast checker → · Palette generator →

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