#40BA3B#40BA3B

#40BA3B is a light, vivid green. Relative luminance 0.365; OKLCH L 69.6% C 0.198 H 142.5°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#40BA3B
RGBrgb(64, 186, 59)
HSLhsl(118, 52%, 48%)
HSVhsv(118, 68%, 73%)
CMYKcmyk(65.6%, 0%, 68.3%, 27.1%)
CIE-LABlab(66.92, -57.73, 52.40)
CIE-LCHlch(66.92, 77.97, 137.77°)
OKLaboklab(69.57% -0.157 0.1203)
OKLCHoklch(69.57% 0.198 142.5)
XYZxyz(20.4615, 36.5215, 10.1079)
Luminance0.3652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40BA3B #B53BBA
analogous
#7FBA3B #40BA3B #3BBA75
triadic
#40BA3B #3B40BA #BA3B40
tetradic
#40BA3B #3B7FBA #B53BBA #BA753B
square
#40BA3B #3B7FBA #B53BBA #BA753B
split-complementary
#40BA3B #753BBA #BA3B7F
monochromatic
#205D1E #308C2C #40BA3B #68CE64 #96DD93

Accessibility & contrast

On white

2.53
#40BA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#40BA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40BA3B
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40BA3B#FFFFFF#000000##000000
##40BA3B1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA929
Deuteranopia (green-blind)
#B09F47
Tritanopia (blue-blind)
#25B5A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #40ba3b;
/* rgb */ color: rgb(64, 186, 59);
/* oklch */ color: oklch(69.6% 0.198 142.5);
Tailwind
colors: {
  custom: {
    50: '#84d077',
    500: '#40ba3b',
    950: '#000000',
  },
}
SCSS
$custom: #40ba3b;
$custom-light: #84d077;
$custom-dark: #000000;
JSON
{
  "hex": "#40ba3b",
  "rgb": {
    "r": 64,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 117.638,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.6957,
    "c": 0.1978,
    "h": 142.5
  },
  "luminance": 0.36524
}

Semantic roles & 50–950 ramp

primary
#40BA3B
secondary
#C589C8
accent
#4DDBD6
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #40BA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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