#40B34C#40B34C

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

Color values

HEX#40B34C
RGBrgb(64, 179, 76)
HSLhsl(126, 47%, 48%)
HSVhsv(126, 64%, 70%)
CMYKcmyk(64.2%, 0%, 57.5%, 29.8%)
CIE-LABlab(64.84, -53.38, 42.60)
CIE-LCHlch(64.84, 68.29, 141.41°)
OKLaboklab(67.91% -0.1444 0.101)
OKLCHoklch(67.91% 0.176 145)
XYZxyz(19.5377, 33.8500, 12.3402)
Luminance0.3385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B34C #B340A7
analogous
#6DB340 #40B34C #40B386
triadic
#40B34C #4C40B3 #B34C40
tetradic
#40B34C #406DB3 #B340A7 #B38640
square
#40B34C #406DB3 #B340A7 #B38640
split-complementary
#40B34C #8640B3 #B3406D
monochromatic
#205926 #308639 #40B34C #67C972 #94D99C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B34C#FFFFFF#000000##000000
##40B34C1.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)
#B6A342
Deuteranopia (green-blind)
#A89A54
Tritanopia (blue-blind)
#23AF9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b34c;
/* rgb */ color: rgb(64, 179, 76);
/* oklch */ color: oklch(67.9% 0.176 145.0);
Tailwind
colors: {
  custom: {
    50: '#82cb81',
    500: '#40b34c',
    950: '#000000',
  },
}
SCSS
$custom: #40b34c;
$custom-light: #82cb81;
$custom-dark: #000000;
JSON
{
  "hex": "#40b34c",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 76
  },
  "hsl": {
    "h": 126.261,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.67907,
    "c": 0.17627,
    "h": 145
  },
  "luminance": 0.33852
}

Semantic roles & 50–950 ramp

primary
#40B34C
secondary
#C48ABE
accent
#51C9D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40B34C

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

Preview Lab → · Contrast checker → · Palette generator →

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