#40BA2E#40BA2E

#40BA2E is a light, highly saturated green. Relative luminance 0.364; OKLCH L 69.5% C 0.206 H 141.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#40BA2E
RGBrgb(64, 186, 46)
HSLhsl(112, 60%, 45%)
HSVhsv(112, 75%, 73%)
CMYKcmyk(65.6%, 0%, 75.3%, 27.1%)
CIE-LABlab(66.83, -58.80, 57.17)
CIE-LCHlch(66.83, 82.01, 135.81°)
OKLaboklab(69.47% -0.1606 0.1286)
OKLCHoklch(69.47% 0.206 141.3)
XYZxyz(20.1653, 36.4030, 8.5480)
Luminance0.3640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA2E #A82EBA
analogous
#86BA2E #40BA2E #2EBA62
triadic
#40BA2E #2E40BA #BA2E40
tetradic
#40BA2E #2E86BA #A82EBA #BA622E
square
#40BA2E #2E86BA #A82EBA #BA622E
split-complementary
#40BA2E #622EBA #BA2E86
monochromatic
#1E5816 #2F8922 #40BA2E #62D451 #8EE082

Accessibility & contrast

On white

2.54
#40BA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#40BA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA2E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA2E#FFFFFF#000000##000000
##40BA2E1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA90F
Deuteranopia (green-blind)
#B09F3D
Tritanopia (blue-blind)
#29B49F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba2e;
/* rgb */ color: rgb(64, 186, 46);
/* oklch */ color: oklch(69.5% 0.206 141.3);
Tailwind
colors: {
  custom: {
    50: '#85d070',
    500: '#40ba2e',
    950: '#000000',
  },
}
SCSS
$custom: #40ba2e;
$custom-light: #85d070;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba2e",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 46
  },
  "hsl": {
    "h": 112.286,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69467,
    "c": 0.20574,
    "h": 141.3
  },
  "luminance": 0.36405
}

Semantic roles & 50–950 ramp

primary
#40BA2E
secondary
#BF7BC9
accent
#44E3CF
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40BA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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