#40B73B#40B73B

#40B73B is a light, vivid green. Relative luminance 0.353; OKLCH L 68.8% C 0.194 H 142.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#40B73B
RGBrgb(64, 183, 59)
HSLhsl(118, 51%, 47%)
HSVhsv(118, 68%, 72%)
CMYKcmyk(65%, 0%, 67.8%, 28.2%)
CIE-LABlab(65.96, -56.69, 51.38)
CIE-LCHlch(65.96, 76.51, 137.81°)
OKLaboklab(68.78% -0.1542 0.1181)
OKLCHoklch(68.78% 0.194 142.5)
XYZxyz(19.8361, 35.2707, 9.8994)
Luminance0.3527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B73B #B23BB7
analogous
#7EB73B #40B73B #3BB774
triadic
#40B73B #3B40B7 #B73B40
tetradic
#40B73B #3B7EB7 #B23BB7 #B7743B
square
#40B73B #3B7EB7 #B23BB7 #B7743B
split-complementary
#40B73B #743BB7 #B73B7E
monochromatic
#205A1D #30892C #40B73B #67CD63 #94DC91

Accessibility & contrast

On white

2.61
#40B73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#40B73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B73B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B73B#FFFFFF#000000##000000
##40B73B1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62A
Deuteranopia (green-blind)
#AD9D46
Tritanopia (blue-blind)
#27B29E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #40b73b;
/* rgb */ color: rgb(64, 183, 59);
/* oklch */ color: oklch(68.8% 0.194 142.5);
Tailwind
colors: {
  custom: {
    50: '#84ce77',
    500: '#40b73b',
    950: '#000000',
  },
}
SCSS
$custom: #40b73b;
$custom-light: #84ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#40b73b",
  "rgb": {
    "r": 64,
    "g": 183,
    "b": 59
  },
  "hsl": {
    "h": 117.581,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68777,
    "c": 0.19426,
    "h": 142.5
  },
  "luminance": 0.35273
}

Semantic roles & 50–950 ramp

primary
#40B73B
secondary
#C487C6
accent
#4DDBD5
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #40B73B

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

Preview Lab → · Contrast checker → · Palette generator →

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