#40BA2C#40BA2C

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

Color values

HEX#40BA2C
RGBrgb(64, 186, 44)
HSLhsl(112, 62%, 45%)
HSVhsv(112, 76%, 73%)
CMYKcmyk(65.6%, 0%, 76.3%, 27.1%)
CIE-LABlab(66.81, -58.94, 57.83)
CIE-LCHlch(66.81, 82.57, 135.54°)
OKLaboklab(69.45% -0.1611 0.1297)
OKLCHoklch(69.45% 0.207 141.2)
XYZxyz(20.1268, 36.3876, 8.3452)
Luminance0.3639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA2C #A62CBA
analogous
#87BA2C #40BA2C #2CBA5F
triadic
#40BA2C #2C40BA #BA2C40
tetradic
#40BA2C #2C87BA #A62CBA #BA5F2C
square
#40BA2C #2C87BA #A62CBA #BA5F2C
split-complementary
#40BA2C #5F2CBA #BA2C87
monochromatic
#1E5715 #2F8920 #40BA2C #61D54E #8DE180

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40BA2C#FFFFFF#000000##000000
##40BA2C1.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)
#BFA909
Deuteranopia (green-blind)
#B09F3C
Tritanopia (blue-blind)
#29B49F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba2c;
/* rgb */ color: rgb(64, 186, 44);
/* oklch */ color: oklch(69.5% 0.207 141.2);
Tailwind
colors: {
  custom: {
    50: '#85d070',
    500: '#40ba2c',
    950: '#000000',
  },
}
SCSS
$custom: #40ba2c;
$custom-light: #85d070;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba2c",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 111.549,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69453,
    "c": 0.2068,
    "h": 141.2
  },
  "luminance": 0.3639
}

Semantic roles & 50–950 ramp

primary
#40BA2C
secondary
#BE78CA
accent
#43E5CE
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #40BA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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