#40B94F#40B94F

#40B94F is a light, vivid green. Relative luminance 0.364; OKLCH L 69.5% C 0.181 H 145.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#40B94F
RGBrgb(64, 185, 79)
HSLhsl(127, 49%, 49%)
HSVhsv(127, 65%, 73%)
CMYKcmyk(65.4%, 0%, 57.3%, 27.5%)
CIE-LABlab(66.79, -55.18, 43.47)
CIE-LCHlch(66.79, 70.25, 141.77°)
OKLaboklab(69.52% -0.1492 0.1032)
OKLCHoklch(69.52% 0.181 145.3)
XYZxyz(20.8732, 36.3503, 13.3119)
Luminance0.3635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B94F #B940AA
analogous
#6EB940 #40B94F #40B98C
triadic
#40B94F #4F40B9 #B94F40
tetradic
#40B94F #406EB9 #B940AA #B98C40
square
#40B94F #406EB9 #B940AA #B98C40
split-complementary
#40B94F #8C40B9 #B9406E
monochromatic
#215E28 #308C3C #40B94F #6BCC77 #98DBA0

Accessibility & contrast

On white

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

On black

8.27
#40B94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B94F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B94F#FFFFFF#000000##000000
##40B94F1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA945
Deuteranopia (green-blind)
#AD9F57
Tritanopia (blue-blind)
#1EB4A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #40b94f;
/* rgb */ color: rgb(64, 185, 79);
/* oklch */ color: oklch(69.5% 0.181 145.3);
Tailwind
colors: {
  custom: {
    50: '#83cf83',
    500: '#40b94f',
    950: '#000000',
  },
}
SCSS
$custom: #40b94f;
$custom-light: #83cf83;
$custom-dark: #000000;
JSON
{
  "hex": "#40b94f",
  "rgb": {
    "r": 64,
    "g": 185,
    "b": 79
  },
  "hsl": {
    "h": 127.438,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69523,
    "c": 0.18139,
    "h": 145.3
  },
  "luminance": 0.36352
}

Semantic roles & 50–950 ramp

primary
#40B94F
secondary
#C78EC0
accent
#50C7D8
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #40B94F

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

Preview Lab → · Contrast checker → · Palette generator →

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