#40A751#40A751

#40A751 is a light, vivid green. Relative luminance 0.293; OKLCH L 64.8% C 0.156 H 146.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#40A751
RGBrgb(64, 167, 81)
HSLhsl(130, 45%, 45%)
HSVhsv(130, 62%, 65%)
CMYKcmyk(61.7%, 0%, 51.5%, 34.5%)
CIE-LABlab(61.06, -48.17, 35.60)
CIE-LCHlch(61.06, 59.90, 143.53°)
OKLaboklab(64.81% -0.1302 0.086)
OKLCHoklch(64.81% 0.156 146.6)
XYZxyz(17.4171, 29.3198, 12.5244)
Luminance0.2932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A751 #A74096
analogous
#62A740 #40A751 #40A784
triadic
#40A751 #5140A7 #A75140
tetradic
#40A751 #4062A7 #A74096 #A78440
square
#40A751 #4062A7 #A74096 #A78440
split-complementary
#40A751 #8440A7 #A74062
monochromatic
#1E4F26 #2F7B3C #40A751 #62C372 #8ED499

Accessibility & contrast

On white

3.06
#40A751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#40A751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A751
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A751#FFFFFF#000000##000000
##40A7511.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9994A
Deuteranopia (green-blind)
#9C9057
Tritanopia (blue-blind)
#27A393
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a751;
/* rgb */ color: rgb(64, 167, 81);
/* oklch */ color: oklch(64.8% 0.156 146.6);
Tailwind
colors: {
  custom: {
    50: '#80c284',
    500: '#40a751',
    950: '#000000',
  },
}
SCSS
$custom: #40a751;
$custom-light: #80c284;
$custom-dark: #000000;
JSON
{
  "hex": "#40a751",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 129.903,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64808,
    "c": 0.15604,
    "h": 146.6
  },
  "luminance": 0.29322
}

Semantic roles & 50–950 ramp

primary
#40A751
secondary
#BF84B5
accent
#54BFD4
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #40A751

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

Preview Lab → · Contrast checker → · Palette generator →

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