#40B355#40B355

#40B355 is a light, vivid green. Relative luminance 0.340; OKLCH L 68.0% C 0.168 H 146.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#40B355
RGBrgb(64, 179, 85)
HSLhsl(131, 47%, 48%)
HSVhsv(131, 64%, 70%)
CMYKcmyk(64.2%, 0%, 52.5%, 29.8%)
CIE-LABlab(64.95, -52.16, 38.37)
CIE-LCHlch(64.95, 64.75, 143.66°)
OKLaboklab(68.03% -0.1409 0.0924)
OKLCHoklch(68.03% 0.168 146.8)
XYZxyz(19.8728, 33.9841, 14.1049)
Luminance0.3399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B355 #B3409E
analogous
#64B340 #40B355 #40B38F
triadic
#40B355 #5540B3 #B35540
tetradic
#40B355 #4064B3 #B3409E #B38F40
square
#40B355 #4064B3 #B3409E #B38F40
split-complementary
#40B355 #8F40B3 #B34064
monochromatic
#20592A #308640 #40B355 #67C979 #94D9A1

Accessibility & contrast

On white

2.69
#40B355 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#40B355 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B355
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B355#FFFFFF#000000##000000
##40B3551.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A44D
Deuteranopia (green-blind)
#A79A5C
Tritanopia (blue-blind)
#1FAF9D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b355;
/* rgb */ color: rgb(64, 179, 85);
/* oklch */ color: oklch(68.0% 0.168 146.8);
Tailwind
colors: {
  custom: {
    50: '#82cb87',
    500: '#40b355',
    950: '#000000',
  },
}
SCSS
$custom: #40b355;
$custom-light: #82cb87;
$custom-dark: #000000;
JSON
{
  "hex": "#40b355",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 85
  },
  "hsl": {
    "h": 130.957,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.6803,
    "c": 0.16846,
    "h": 146.8
  },
  "luminance": 0.33986
}

Semantic roles & 50–950 ramp

primary
#40B355
secondary
#C48ABA
accent
#51BED7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #40B355

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

Preview Lab → · Contrast checker → · Palette generator →

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