#A6D940#A6D940

#A6D940 is a very light, vivid yellow-green. Relative luminance 0.581; OKLCH L 82.2% C 0.184 H 126.3°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#A6D940
RGBrgb(166, 217, 64)
HSLhsl(80, 67%, 55%)
HSVhsv(80, 71%, 85%)
CMYKcmyk(23.5%, 0%, 70.5%, 14.9%)
CIE-LABlab(80.80, -38.01, 66.23)
CIE-LCHlch(80.80, 76.37, 119.85°)
OKLaboklab(82.15% -0.1093 0.1486)
OKLCHoklch(82.15% 0.184 126.3)
XYZxyz(41.4643, 58.1022, 13.8798)
Luminance0.5810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D940 #7340D9
analogous
#D9BF40 #A6D940 #5AD940
triadic
#A6D940 #40A6D9 #D940A6
tetradic
#A6D940 #40D9BF #7340D9 #D9405A
square
#A6D940 #40D9BF #7340D9 #D9405A
split-complementary
#A6D940 #405AD9 #BF40D9
monochromatic
#61841A #86B724 #A6D940 #BEE373 #D6EDA6

Accessibility & contrast

On white

1.66
#A6D940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#A6D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D940
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D940#FFFFFF#000000##000000
##A6D9401.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB26
Deuteranopia (green-blind)
#DDC84D
Tritanopia (blue-blind)
#ADCFBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a6d940;
/* rgb */ color: rgb(166, 217, 64);
/* oklch */ color: oklch(82.2% 0.184 126.3);
Tailwind
colors: {
  custom: {
    50: '#c4e57e',
    500: '#a6d940',
    950: '#000000',
  },
}
SCSS
$custom: #a6d940;
$custom-light: #c4e57e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d940",
  "rgb": {
    "r": 166,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 80,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82153,
    "c": 0.18445,
    "h": 126.3
  },
  "luminance": 0.58103
}

Semantic roles & 50–950 ramp

primary
#A6D940
secondary
#50328B
accent
#3EEA77
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #A6D940

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

Preview Lab → · Contrast checker → · Palette generator →

#A6D940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva