#40B34B#40B34B

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

Color values

HEX#40B34B
RGBrgb(64, 179, 75)
HSLhsl(126, 47%, 48%)
HSVhsv(126, 64%, 70%)
CMYKcmyk(64.2%, 0%, 58.1%, 29.8%)
CIE-LABlab(64.83, -53.50, 43.06)
CIE-LCHlch(64.83, 68.68, 141.17°)
OKLaboklab(67.9% -0.1448 0.1019)
OKLCHoklch(67.9% 0.177 144.9)
XYZxyz(19.5032, 33.8362, 12.1585)
Luminance0.3384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B34B #B340A8
analogous
#6FB340 #40B34B #40B384
triadic
#40B34B #4B40B3 #B34B40
tetradic
#40B34B #406FB3 #B340A8 #B38440
square
#40B34B #406FB3 #B340A8 #B38440
split-complementary
#40B34B #8440B3 #B3406F
monochromatic
#205925 #308638 #40B34B #67C971 #94D99B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B34B#FFFFFF#000000##000000
##40B34B1.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)
#B6A341
Deuteranopia (green-blind)
#A89A53
Tritanopia (blue-blind)
#23AE9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b34b;
/* rgb */ color: rgb(64, 179, 75);
/* oklch */ color: oklch(67.9% 0.177 144.9);
Tailwind
colors: {
  custom: {
    50: '#82cb80',
    500: '#40b34b',
    950: '#000000',
  },
}
SCSS
$custom: #40b34b;
$custom-light: #82cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#40b34b",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 75
  },
  "hsl": {
    "h": 125.739,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.67895,
    "c": 0.17711,
    "h": 144.9
  },
  "luminance": 0.33838
}

Semantic roles & 50–950 ramp

primary
#40B34B
secondary
#C48ABF
accent
#51CAD7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #40B34B

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

Preview Lab → · Contrast checker → · Palette generator →

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