#40A960#40A960

#40A960 is a light, vivid green. Relative luminance 0.303; OKLCH L 65.6% C 0.145 H 150.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#40A960
RGBrgb(64, 169, 96)
HSLhsl(138, 45%, 46%)
HSVhsv(138, 62%, 66%)
CMYKcmyk(62.1%, 0%, 43.2%, 33.7%)
CIE-LABlab(61.92, -46.55, 28.93)
CIE-LCHlch(61.92, 54.81, 148.14°)
OKLaboklab(65.58% -0.1258 0.0714)
OKLCHoklch(65.58% 0.145 150.4)
XYZxyz(18.4122, 30.3086, 15.9439)
Luminance0.3031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A960 #A94089
analogous
#54A940 #40A960 #40A994
triadic
#40A960 #6040A9 #A96040
tetradic
#40A960 #4054A9 #A94089 #A99440
square
#40A960 #4054A9 #A94089 #A99440
split-complementary
#40A960 #9440A9 #A94054
monochromatic
#1E502E #2F7D47 #40A960 #62C480 #8FD5A4

Accessibility & contrast

On white

2.97
#40A960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#40A960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A960
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A960#FFFFFF#000000##000000
##40A9601.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9B5B
Deuteranopia (green-blind)
#9C9265
Tritanopia (blue-blind)
#1EA697
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40a960;
/* rgb */ color: rgb(64, 169, 96);
/* oklch */ color: oklch(65.6% 0.145 150.4);
Tailwind
colors: {
  custom: {
    50: '#80c38e',
    500: '#40a960',
    950: '#000000',
  },
}
SCSS
$custom: #40a960;
$custom-light: #80c38e;
$custom-dark: #000000;
JSON
{
  "hex": "#40a960",
  "rgb": {
    "r": 64,
    "g": 169,
    "b": 96
  },
  "hsl": {
    "h": 138.286,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.65584,
    "c": 0.14464,
    "h": 150.4
  },
  "luminance": 0.3031
}

Semantic roles & 50–950 ramp

primary
#40A960
secondary
#C085AE
accent
#53ADD5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40A960

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

Preview Lab → · Contrast checker → · Palette generator →

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