#A6D342#A6D342

#A6D342 is a light, vivid yellow-green. Relative luminance 0.551; OKLCH L 80.8% C 0.176 H 125.2°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#A6D342
RGBrgb(166, 211, 66)
HSLhsl(79, 62%, 54%)
HSVhsv(79, 69%, 83%)
CMYKcmyk(21.3%, 0%, 68.7%, 17.3%)
CIE-LABlab(79.09, -35.17, 63.78)
CIE-LCHlch(79.09, 72.84, 118.87°)
OKLaboklab(80.78% -0.1014 0.1437)
OKLCHoklch(80.78% 0.176 125.2)
XYZxyz(40.0038, 55.0884, 13.6788)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D342 #6F42D3
analogous
#D3B842 #A6D342 #5ED342
triadic
#A6D342 #42A6D3 #D342A6
tetradic
#A6D342 #42D3B8 #6F42D3 #D3425E
square
#A6D342 #42D3B8 #6F42D3 #D3425E
split-complementary
#A6D342 #425ED3 #B842D3
monochromatic
#607D1D #85AF29 #A6D342 #BDDF74 #D5EAA5

Accessibility & contrast

On white

1.75
#A6D342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#A6D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D342
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D342#FFFFFF#000000##000000
##A6D3421.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52B
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#ADC9B6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a6d342;
/* rgb */ color: rgb(166, 211, 66);
/* oklch */ color: oklch(80.8% 0.176 125.2);
Tailwind
colors: {
  custom: {
    50: '#c4e07f',
    500: '#a6d342',
    950: '#000000',
  },
}
SCSS
$custom: #a6d342;
$custom-light: #c4e07f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d342",
  "rgb": {
    "r": 166,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 78.621,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80778,
    "c": 0.17588,
    "h": 125.2
  },
  "luminance": 0.55089
}

Semantic roles & 50–950 ramp

primary
#A6D342
secondary
#4D3485
accent
#42E575
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A6D342

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

Preview Lab → · Contrast checker → · Palette generator →

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