#40A760#40A760

#40A760 is a light, vivid green. Relative luminance 0.296; OKLCH L 65.1% C 0.142 H 150.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#40A760
RGBrgb(64, 167, 96)
HSLhsl(139, 45%, 45%)
HSVhsv(139, 62%, 65%)
CMYKcmyk(61.7%, 0%, 42.5%, 34.5%)
CIE-LABlab(61.28, -45.75, 28.10)
CIE-LCHlch(61.28, 53.69, 148.44°)
OKLaboklab(65.06% -0.1237 0.0695)
OKLCHoklch(65.06% 0.142 150.7)
XYZxyz(18.0430, 29.5702, 15.8208)
Luminance0.2957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A760 #A74087
analogous
#53A740 #40A760 #40A794
triadic
#40A760 #6040A7 #A76040
tetradic
#40A760 #4053A7 #A74087 #A79440
square
#40A760 #4053A7 #A74087 #A79440
split-complementary
#40A760 #9440A7 #A74053
monochromatic
#1E4F2D #2F7B47 #40A760 #62C380 #8ED4A3

Accessibility & contrast

On white

3.04
#40A760 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#40A760 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A760
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A760#FFFFFF#000000##000000
##40A7601.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89A5B
Deuteranopia (green-blind)
#9A9065
Tritanopia (blue-blind)
#1FA496
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #40a760;
/* rgb */ color: rgb(64, 167, 96);
/* oklch */ color: oklch(65.1% 0.142 150.7);
Tailwind
colors: {
  custom: {
    50: '#7fc28e',
    500: '#40a760',
    950: '#000000',
  },
}
SCSS
$custom: #40a760;
$custom-light: #7fc28e;
$custom-dark: #000000;
JSON
{
  "hex": "#40a760",
  "rgb": {
    "r": 64,
    "g": 167,
    "b": 96
  },
  "hsl": {
    "h": 138.641,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.6506,
    "c": 0.14184,
    "h": 150.7
  },
  "luminance": 0.29572
}

Semantic roles & 50–950 ramp

primary
#40A760
secondary
#BF84AC
accent
#54ACD4
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A760

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

Preview Lab → · Contrast checker → · Palette generator →

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