#40B34A#40B34A

#40B34A is a light, vivid green. Relative luminance 0.338; OKLCH L 67.9% C 0.178 H 144.7°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#40B34A
RGBrgb(64, 179, 74)
HSLhsl(125, 47%, 48%)
HSVhsv(125, 64%, 70%)
CMYKcmyk(64.2%, 0%, 58.7%, 29.8%)
CIE-LABlab(64.82, -53.63, 43.51)
CIE-LCHlch(64.82, 69.06, 140.94°)
OKLaboklab(67.88% -0.1452 0.1029)
OKLCHoklch(67.88% 0.178 144.7)
XYZxyz(19.4693, 33.8226, 11.9796)
Luminance0.3382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B34A #B340A9
analogous
#70B340 #40B34A #40B383
triadic
#40B34A #4A40B3 #B34A40
tetradic
#40B34A #4070B3 #B340A9 #B38340
square
#40B34A #4070B3 #B340A9 #B38340
split-complementary
#40B34A #8340B3 #B34070
monochromatic
#205925 #308637 #40B34A #67C970 #94D99A

Accessibility & contrast

On white

2.70
#40B34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#40B34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B34A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B34A#FFFFFF#000000##000000
##40B34A1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33F
Deuteranopia (green-blind)
#A89952
Tritanopia (blue-blind)
#24AE9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b34a;
/* rgb */ color: rgb(64, 179, 74);
/* oklch */ color: oklch(67.9% 0.178 144.7);
Tailwind
colors: {
  custom: {
    50: '#82cb80',
    500: '#40b34a',
    950: '#000000',
  },
}
SCSS
$custom: #40b34a;
$custom-light: #82cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#40b34a",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 74
  },
  "hsl": {
    "h": 125.217,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.67882,
    "c": 0.17794,
    "h": 144.7
  },
  "luminance": 0.33825
}

Semantic roles & 50–950 ramp

primary
#40B34A
secondary
#C48ABF
accent
#51CBD7
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40B34A

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

Preview Lab → · Contrast checker → · Palette generator →

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