#40BA4B#40BA4B

#40BA4B is a light, vivid green. Relative luminance 0.367; OKLCH L 69.7% C 0.186 H 144.7°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#40BA4B
RGBrgb(64, 186, 75)
HSLhsl(125, 49%, 49%)
HSVhsv(125, 66%, 73%)
CMYKcmyk(65.6%, 0%, 59.7%, 27.1%)
CIE-LABlab(67.06, -56.03, 45.65)
CIE-LCHlch(67.06, 72.27, 140.83°)
OKLaboklab(69.74% -0.1517 0.1076)
OKLCHoklch(69.74% 0.186 144.7)
XYZxyz(20.9419, 36.7137, 12.6380)
Luminance0.3672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA4B #BA40AF
analogous
#72BA40 #40BA4B #40BA88
triadic
#40BA4B #4B40BA #BA4B40
tetradic
#40BA4B #4072BA #BA40AF #BA8840
square
#40BA4B #4072BA #BA40AF #BA8840
split-complementary
#40BA4B #8840BA #BA4072
monochromatic
#215F26 #308C39 #40BA4B #6BCC74 #99DC9F

Accessibility & contrast

On white

2.52
#40BA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#40BA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA4B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA4B#FFFFFF#000000##000000
##40BA4B1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93F
Deuteranopia (green-blind)
#AE9F54
Tritanopia (blue-blind)
#20B5A2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba4b;
/* rgb */ color: rgb(64, 186, 75);
/* oklch */ color: oklch(69.7% 0.186 144.7);
Tailwind
colors: {
  custom: {
    50: '#84d081',
    500: '#40ba4b',
    950: '#000000',
  },
}
SCSS
$custom: #40ba4b;
$custom-light: #84d081;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba4b",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 75
  },
  "hsl": {
    "h": 125.41,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69737,
    "c": 0.18593,
    "h": 144.7
  },
  "luminance": 0.36716
}

Semantic roles & 50–950 ramp

primary
#40BA4B
secondary
#C88EC2
accent
#4FCCD8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140A
muted
#7D827C

Preview Lab

Preview with #40BA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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