#40B52B#40B52B

#40B52B is a light, highly saturated green. Relative luminance 0.343; OKLCH L 68.1% C 0.202 H 141.0°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#40B52B
RGBrgb(64, 181, 43)
HSLhsl(111, 62%, 44%)
HSVhsv(111, 76%, 71%)
CMYKcmyk(64.6%, 0%, 76.2%, 29%)
CIE-LABlab(65.21, -57.31, 56.59)
CIE-LCHlch(65.21, 80.54, 135.36°)
OKLaboklab(68.12% -0.1567 0.127)
OKLCHoklch(68.12% 0.202 141)
XYZxyz(19.0733, 34.3103, 7.9024)
Luminance0.3431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B52B #A02BB5
analogous
#85B52B #40B52B #2BB55B
triadic
#40B52B #2B40B5 #B52B40
tetradic
#40B52B #2B85B5 #A02BB5 #B55B2B
square
#40B52B #2B85B5 #A02BB5 #B55B2B
split-complementary
#40B52B #5B2BB5 #B52B85
monochromatic
#1D5214 #2F841F #40B52B #5ED449 #8AE07B

Accessibility & contrast

On white

2.67
#40B52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#40B52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B52B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B52B#FFFFFF#000000##000000
##40B52B1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA40A
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#2BAF9B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b52b;
/* rgb */ color: rgb(64, 181, 43);
/* oklch */ color: oklch(68.1% 0.202 141.0);
Tailwind
colors: {
  custom: {
    50: '#84cc6e',
    500: '#40b52b',
    950: '#000000',
  },
}
SCSS
$custom: #40b52b;
$custom-light: #84cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#40b52b",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 110.87,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6812,
    "c": 0.20171,
    "h": 141
  },
  "luminance": 0.34312
}

Semantic roles & 50–950 ramp

primary
#40B52B
secondary
#BB74C8
accent
#43E5CC
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B52B

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

Preview Lab → · Contrast checker → · Palette generator →

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