#40A460#40A460

#40A460 is a light, vivid green. Relative luminance 0.285; OKLCH L 64.3% C 0.138 H 151.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#40A460
RGBrgb(64, 164, 96)
HSLhsl(139, 44%, 45%)
HSVhsv(139, 61%, 64%)
CMYKcmyk(61%, 0%, 41.5%, 35.7%)
CIE-LABlab(60.32, -44.53, 26.85)
CIE-LCHlch(60.32, 52.00, 148.91°)
OKLaboklab(64.27% -0.1204 0.0666)
OKLCHoklch(64.27% 0.138 151.1)
XYZxyz(17.4998, 28.4837, 15.6398)
Luminance0.2848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A460 #A44084
analogous
#52A440 #40A460 #40A492
triadic
#40A460 #6040A4 #A46040
tetradic
#40A460 #4052A4 #A44084 #A49240
square
#40A460 #4052A4 #A44084 #A49240
split-complementary
#40A460 #9240A4 #A44052
monochromatic
#1E4C2C #2F7846 #40A460 #60C17F #8CD2A3

Accessibility & contrast

On white

3.14
#40A460 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#40A460 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A460
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A460#FFFFFF#000000##000000
##40A4601.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5975B
Deuteranopia (green-blind)
#978E64
Tritanopia (blue-blind)
#21A193
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #40a460;
/* rgb */ color: rgb(64, 164, 96);
/* oklch */ color: oklch(64.3% 0.138 151.1);
Tailwind
colors: {
  custom: {
    50: '#7fc08e',
    500: '#40a460',
    950: '#000000',
  },
}
SCSS
$custom: #40a460;
$custom-light: #7fc08e;
$custom-dark: #000000;
JSON
{
  "hex": "#40a460",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 96
  },
  "hsl": {
    "h": 139.2,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64272,
    "c": 0.1376,
    "h": 151.1
  },
  "luminance": 0.28485
}

Semantic roles & 50–950 ramp

primary
#40A460
secondary
#BD83AA
accent
#54ABD4
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A460

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

Preview Lab → · Contrast checker → · Palette generator →

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