#40B52C#40B52C

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

Color values

HEX#40B52C
RGBrgb(64, 181, 44)
HSLhsl(111, 61%, 44%)
HSVhsv(111, 76%, 71%)
CMYKcmyk(64.6%, 0%, 75.7%, 29%)
CIE-LABlab(65.21, -57.24, 56.26)
CIE-LCHlch(65.21, 80.25, 135.49°)
OKLaboklab(68.13% -0.1565 0.1264)
OKLCHoklch(68.13% 0.201 141.1)
XYZxyz(19.0919, 34.3177, 8.0002)
Luminance0.3432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B52C #A12CB5
analogous
#85B52C #40B52C #2CB55D
triadic
#40B52C #2C40B5 #B52C40
tetradic
#40B52C #2C85B5 #A12CB5 #B55D2C
square
#40B52C #2C85B5 #A12CB5 #B55D2C
split-complementary
#40B52C #5D2CB5 #B52C85
monochromatic
#1D5314 #2F8420 #40B52C #5FD34B #8BDF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B52C#FFFFFF#000000##000000
##40B52C1.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)
#BAA40D
Deuteranopia (green-blind)
#AC9B3B
Tritanopia (blue-blind)
#2BAF9B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b52c;
/* rgb */ color: rgb(64, 181, 44);
/* oklch */ color: oklch(68.1% 0.201 141.1);
Tailwind
colors: {
  custom: {
    50: '#84cc6f',
    500: '#40b52c',
    950: '#000000',
  },
}
SCSS
$custom: #40b52c;
$custom-light: #84cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#40b52c",
  "rgb": {
    "r": 64,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 111.241,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68127,
    "c": 0.20117,
    "h": 141.1
  },
  "luminance": 0.3432
}

Semantic roles & 50–950 ramp

primary
#40B52C
secondary
#BC75C8
accent
#44E4CD
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #40B52C

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

Preview Lab → · Contrast checker → · Palette generator →

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