#40B350#40B350

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

Color values

HEX#40B350
RGBrgb(64, 179, 80)
HSLhsl(128, 47%, 48%)
HSVhsv(128, 64%, 70%)
CMYKcmyk(64.2%, 0%, 55.3%, 29.8%)
CIE-LABlab(64.89, -52.85, 40.74)
CIE-LCHlch(64.89, 66.73, 142.37°)
OKLaboklab(67.96% -0.1429 0.0973)
OKLCHoklch(67.96% 0.173 145.8)
XYZxyz(19.6811, 33.9074, 13.0955)
Luminance0.3391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B350 #B340A3
analogous
#69B340 #40B350 #40B38A
triadic
#40B350 #5040B3 #B35040
tetradic
#40B350 #4069B3 #B340A3 #B38A40
square
#40B350 #4069B3 #B340A3 #B38A40
split-complementary
#40B350 #8A40B3 #B34069
monochromatic
#205928 #30863C #40B350 #67C975 #94D99E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40B350#FFFFFF#000000##000000
##40B3501.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)
#B6A347
Deuteranopia (green-blind)
#A79A58
Tritanopia (blue-blind)
#21AF9D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b350;
/* rgb */ color: rgb(64, 179, 80);
/* oklch */ color: oklch(68.0% 0.173 145.8);
Tailwind
colors: {
  custom: {
    50: '#82cb84',
    500: '#40b350',
    950: '#000000',
  },
}
SCSS
$custom: #40b350;
$custom-light: #82cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#40b350",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 80
  },
  "hsl": {
    "h": 128.348,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.6796,
    "c": 0.17286,
    "h": 145.8
  },
  "luminance": 0.33909
}

Semantic roles & 50–950 ramp

primary
#40B350
secondary
#C48ABC
accent
#51C4D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #40B350

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

Preview Lab → · Contrast checker → · Palette generator →

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