#40B451#40B451

#40B451 is a light, vivid green. Relative luminance 0.343; OKLCH L 68.2% C 0.173 H 145.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#40B451
RGBrgb(64, 180, 81)
HSLhsl(129, 48%, 48%)
HSVhsv(129, 64%, 71%)
CMYKcmyk(64.4%, 0%, 55%, 29.4%)
CIE-LABlab(65.22, -53.09, 40.65)
CIE-LCHlch(65.22, 66.87, 142.56°)
OKLaboklab(68.24% -0.1435 0.0971)
OKLCHoklch(68.24% 0.173 145.9)
XYZxyz(19.9195, 34.3246, 13.3585)
Luminance0.3433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40B451 #B440A3
analogous
#69B440 #40B451 #40B48B
triadic
#40B451 #5140B4 #B45140
tetradic
#40B451 #4069B4 #B440A3 #B48B40
square
#40B451 #4069B4 #B440A3 #B48B40
split-complementary
#40B451 #8B40B4 #B44069
monochromatic
#205A28 #30873D #40B451 #68C976 #95D99F

Accessibility & contrast

On white

2.67
#40B451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#40B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40B451
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40B451#FFFFFF#000000##000000
##40B4511.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A448
Deuteranopia (green-blind)
#A89A58
Tritanopia (blue-blind)
#20B09E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #40b451;
/* rgb */ color: rgb(64, 180, 81);
/* oklch */ color: oklch(68.2% 0.173 145.9);
Tailwind
colors: {
  custom: {
    50: '#82cb84',
    500: '#40b451',
    950: '#000000',
  },
}
SCSS
$custom: #40b451;
$custom-light: #82cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#40b451",
  "rgb": {
    "r": 64,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 128.793,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68236,
    "c": 0.17328,
    "h": 145.9
  },
  "luminance": 0.34327
}

Semantic roles & 50–950 ramp

primary
#40B451
secondary
#C58BBC
accent
#51C3D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #40B451

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

Preview Lab → · Contrast checker → · Palette generator →

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