#40A451#40A451

#40A451 is a light, vivid green. Relative luminance 0.282; OKLCH L 64.0% C 0.152 H 146.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#40A451
RGBrgb(64, 164, 81)
HSLhsl(130, 44%, 45%)
HSVhsv(130, 61%, 64%)
CMYKcmyk(61%, 0%, 50.6%, 35.7%)
CIE-LABlab(60.10, -47.00, 34.41)
CIE-LCHlch(60.10, 58.25, 143.79°)
OKLaboklab(64.01% -0.1271 0.0833)
OKLCHoklch(64.01% 0.152 146.8)
XYZxyz(16.8739, 28.2334, 12.3433)
Luminance0.2823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A451 #A44093
analogous
#61A440 #40A451 #40A483
triadic
#40A451 #5140A4 #A45140
tetradic
#40A451 #4061A4 #A44093 #A48340
square
#40A451 #4061A4 #A44093 #A48340
split-complementary
#40A451 #8340A4 #A44061
monochromatic
#1E4C26 #2F783B #40A451 #60C171 #8CD298

Accessibility & contrast

On white

3.16
#40A451 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#40A451 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A451
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A451#FFFFFF#000000##000000
##40A4511.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6964A
Deuteranopia (green-blind)
#998D57
Tritanopia (blue-blind)
#28A091
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a451;
/* rgb */ color: rgb(64, 164, 81);
/* oklch */ color: oklch(64.0% 0.152 146.8);
Tailwind
colors: {
  custom: {
    50: '#7fc083',
    500: '#40a451',
    950: '#000000',
  },
}
SCSS
$custom: #40a451;
$custom-light: #7fc083;
$custom-dark: #000000;
JSON
{
  "hex": "#40a451",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 81
  },
  "hsl": {
    "h": 130.2,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64014,
    "c": 0.15195,
    "h": 146.8
  },
  "luminance": 0.28235
}

Semantic roles & 50–950 ramp

primary
#40A451
secondary
#BD83B3
accent
#54BED4
background
#F8FBF8
surface
#EFF7EF
border
#CAD0CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A451

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

Preview Lab → · Contrast checker → · Palette generator →

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