#40A968#40A968

#40A968 is a light, vivid green. Relative luminance 0.305; OKLCH L 65.7% C 0.137 H 153.1°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#40A968
RGBrgb(64, 169, 104)
HSLhsl(143, 45%, 46%)
HSVhsv(143, 62%, 66%)
CMYKcmyk(62.1%, 0%, 38.5%, 33.7%)
CIE-LABlab(62.05, -45.11, 24.84)
CIE-LCHlch(62.05, 51.50, 151.16°)
OKLaboklab(65.74% -0.1221 0.062)
OKLCHoklch(65.74% 0.137 153.1)
XYZxyz(18.7995, 30.4635, 17.9833)
Luminance0.3046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A968 #A94081
analogous
#4DA940 #40A968 #40A99C
triadic
#40A968 #6840A9 #A96840
tetradic
#40A968 #404DA9 #A94081 #A99C40
square
#40A968 #404DA9 #A94081 #A99C40
split-complementary
#40A968 #9C40A9 #A9404D
monochromatic
#1E5031 #2F7D4D #40A968 #62C488 #8FD5A9

Accessibility & contrast

On white

2.96
#40A968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#40A968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40A968
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A968#FFFFFF#000000##000000
##40A9681.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99C64
Deuteranopia (green-blind)
#9B926C
Tritanopia (blue-blind)
#18A799
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #40a968;
/* rgb */ color: rgb(64, 169, 104);
/* oklch */ color: oklch(65.7% 0.137 153.1);
Tailwind
colors: {
  custom: {
    50: '#80c393',
    500: '#40a968',
    950: '#000000',
  },
}
SCSS
$custom: #40a968;
$custom-light: #80c393;
$custom-dark: #000000;
JSON
{
  "hex": "#40a968",
  "rgb": {
    "r": 64,
    "g": 169,
    "b": 104
  },
  "hsl": {
    "h": 142.857,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.65737,
    "c": 0.13695,
    "h": 153.1
  },
  "luminance": 0.30465
}

Semantic roles & 50–950 ramp

primary
#40A968
secondary
#C085A9
accent
#53A3D5
background
#F8FCF9
surface
#EFF8F1
border
#CAD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #40A968

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

Preview Lab → · Contrast checker → · Palette generator →

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