#40B352#40B352

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

Color values

HEX#40B352
RGBrgb(64, 179, 82)
HSLhsl(129, 47%, 48%)
HSVhsv(129, 64%, 70%)
CMYKcmyk(64.2%, 0%, 54.2%, 29.8%)
CIE-LABlab(64.91, -52.58, 39.80)
CIE-LCHlch(64.91, 65.95, 142.88°)
OKLaboklab(67.99% -0.1421 0.0953)
OKLCHoklch(67.99% 0.171 146.1)
XYZxyz(19.7561, 33.9374, 13.4904)
Luminance0.3394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B352 #B340A1
analogous
#68B340 #40B352 #40B38B
triadic
#40B352 #5240B3 #B35240
tetradic
#40B352 #4068B3 #B340A1 #B38B40
square
#40B352 #4068B3 #B340A1 #B38B40
split-complementary
#40B352 #8B40B3 #B34068
monochromatic
#205929 #30863D #40B352 #67C977 #94D99F

Accessibility & contrast

On white

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

On black

7.79
#40B352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B352
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B352#FFFFFF#000000##000000
##40B3521.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A349
Deuteranopia (green-blind)
#A79A59
Tritanopia (blue-blind)
#20AF9D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #40b352;
/* rgb */ color: rgb(64, 179, 82);
/* oklch */ color: oklch(68.0% 0.171 146.1);
Tailwind
colors: {
  custom: {
    50: '#82cb85',
    500: '#40b352',
    950: '#000000',
  },
}
SCSS
$custom: #40b352;
$custom-light: #82cb85;
$custom-dark: #000000;
JSON
{
  "hex": "#40b352",
  "rgb": {
    "r": 64,
    "g": 179,
    "b": 82
  },
  "hsl": {
    "h": 129.391,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.67987,
    "c": 0.17111,
    "h": 146.1
  },
  "luminance": 0.33939
}

Semantic roles & 50–950 ramp

primary
#40B352
secondary
#C48ABB
accent
#51C2D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #40B352

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

Preview Lab → · Contrast checker → · Palette generator →

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