#A6D642#A6D642

#A6D642 is a light, vivid yellow-green. Relative luminance 0.566; OKLCH L 81.5% C 0.180 H 125.8°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#A6D642
RGBrgb(166, 214, 66)
HSLhsl(79, 64%, 55%)
HSVhsv(79, 69%, 84%)
CMYKcmyk(22.4%, 0%, 69.2%, 16.1%)
CIE-LABlab(79.95, -36.54, 64.66)
CIE-LCHlch(79.95, 74.27, 119.47°)
OKLaboklab(81.47% -0.1051 0.1456)
OKLCHoklch(81.47% 0.18 125.8)
XYZxyz(40.7560, 56.5929, 13.9295)
Luminance0.5659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D642 #7242D6
analogous
#D6BC42 #A6D642 #5CD642
triadic
#A6D642 #42A6D6 #D642A6
tetradic
#A6D642 #42D6BC #7242D6 #D6425C
square
#A6D642 #42D6BC #7242D6 #D6425C
split-complementary
#A6D642 #425CD6 #BC42D6
monochromatic
#61821C #86B427 #A6D642 #BEE174 #D5ECA7

Accessibility & contrast

On white

1.70
#A6D642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#A6D642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D642
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D642#FFFFFF#000000##000000
##A6D6421.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82A
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#ADCCB9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a6d642;
/* rgb */ color: rgb(166, 214, 66);
/* oklch */ color: oklch(81.5% 0.180 125.8);
Tailwind
colors: {
  custom: {
    50: '#c4e27f',
    500: '#a6d642',
    950: '#000000',
  },
}
SCSS
$custom: #a6d642;
$custom-light: #c4e27f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d642",
  "rgb": {
    "r": 166,
    "g": 214,
    "b": 66
  },
  "hsl": {
    "h": 79.459,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81472,
    "c": 0.17954,
    "h": 125.8
  },
  "luminance": 0.56593
}

Semantic roles & 50–950 ramp

primary
#A6D642
secondary
#4F3488
accent
#40E777
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A6D642

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

Preview Lab → · Contrast checker → · Palette generator →

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