#40A962#40A962

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

Color values

HEX#40A962
RGBrgb(64, 169, 98)
HSLhsl(139, 45%, 46%)
HSVhsv(139, 62%, 66%)
CMYKcmyk(62.1%, 0%, 42%, 33.7%)
CIE-LABlab(61.95, -46.20, 27.91)
CIE-LCHlch(61.95, 53.98, 148.86°)
OKLaboklab(65.62% -0.1249 0.0691)
OKLCHoklch(65.62% 0.143 151)
XYZxyz(18.5055, 30.3459, 16.4350)
Luminance0.3035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A962 #A94087
analogous
#52A940 #40A962 #40A996
triadic
#40A962 #6240A9 #A96240
tetradic
#40A962 #4052A9 #A94087 #A99640
square
#40A962 #4052A9 #A94087 #A99640
split-complementary
#40A962 #9640A9 #A94052
monochromatic
#1E502F #2F7D48 #40A962 #62C482 #8FD5A5

Accessibility & contrast

On white

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

On black

7.07
#40A962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A962
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A962#FFFFFF#000000##000000
##40A9621.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9B5D
Deuteranopia (green-blind)
#9C9267
Tritanopia (blue-blind)
#1DA697
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40a962;
/* rgb */ color: rgb(64, 169, 98);
/* oklch */ color: oklch(65.6% 0.143 151.0);
Tailwind
colors: {
  custom: {
    50: '#80c38f',
    500: '#40a962',
    950: '#000000',
  },
}
SCSS
$custom: #40a962;
$custom-light: #80c38f;
$custom-dark: #000000;
JSON
{
  "hex": "#40a962",
  "rgb": {
    "r": 64,
    "g": 169,
    "b": 98
  },
  "hsl": {
    "h": 139.429,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.65621,
    "c": 0.14272,
    "h": 151
  },
  "luminance": 0.30348
}

Semantic roles & 50–950 ramp

primary
#40A962
secondary
#C085AD
accent
#53ABD5
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #40A962

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

Preview Lab → · Contrast checker → · Palette generator →

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