#40B34F#40B34F

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

Color values

HEX#40B34F
RGBrgb(64, 179, 79)
HSLhsl(128, 47%, 48%)
HSVhsv(128, 64%, 70%)
CMYKcmyk(64.2%, 0%, 55.9%, 29.8%)
CIE-LABlab(64.88, -52.99, 41.21)
CIE-LCHlch(64.88, 67.12, 142.13°)
OKLaboklab(67.95% -0.1433 0.0982)
OKLCHoklch(67.95% 0.174 145.6)
XYZxyz(19.6445, 33.8927, 12.9023)
Luminance0.3389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B34F #B340A4
analogous
#6BB340 #40B34F #40B388
triadic
#40B34F #4F40B3 #B34F40
tetradic
#40B34F #406BB3 #B340A4 #B38840
square
#40B34F #406BB3 #B340A4 #B38840
split-complementary
#40B34F #8840B3 #B3406B
monochromatic
#205927 #30863B #40B34F #67C974 #94D99D

Accessibility & contrast

On white

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

On black

7.78
#40B34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B34F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B34F#FFFFFF#000000##000000
##40B34F1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A345
Deuteranopia (green-blind)
#A79A57
Tritanopia (blue-blind)
#22AF9D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b34f;
/* rgb */ color: rgb(64, 179, 79);
/* oklch */ color: oklch(67.9% 0.174 145.6);
Tailwind
colors: {
  custom: {
    50: '#82cb83',
    500: '#40b34f',
    950: '#000000',
  },
}
SCSS
$custom: #40b34f;
$custom-light: #82cb83;
$custom-dark: #000000;
JSON
{
  "hex": "#40b34f",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 79
  },
  "hsl": {
    "h": 127.826,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.67946,
    "c": 0.17372,
    "h": 145.6
  },
  "luminance": 0.33895
}

Semantic roles & 50–950 ramp

primary
#40B34F
secondary
#C48ABD
accent
#51C5D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #40B34F

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

Preview Lab → · Contrast checker → · Palette generator →

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