#A6D652#A6D652

#A6D652 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.6% C 0.168 H 126.8°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#A6D652
RGBrgb(166, 214, 82)
HSLhsl(82, 62%, 58%)
HSVhsv(82, 62%, 84%)
CMYKcmyk(22.4%, 0%, 61.7%, 16.1%)
CIE-LABlab(80.07, -35.41, 58.43)
CIE-LCHlch(80.07, 68.32, 121.21°)
OKLaboklab(81.61% -0.1006 0.1346)
OKLCHoklch(81.61% 0.168 126.8)
XYZxyz(41.2955, 56.8087, 16.7705)
Luminance0.5681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D652 #8252D6
analogous
#D6C452 #A6D652 #64D652
triadic
#A6D652 #52A6D6 #D652A6
tetradic
#A6D652 #52D6C4 #8252D6 #D65264
square
#A6D652 #52D6C4 #8252D6 #D65264
split-complementary
#A6D652 #5264D6 #C452D6
monochromatic
#658C21 #89BE2D #A6D652 #BFE283 #D9EDB5

Accessibility & contrast

On white

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

On black

12.36
#A6D652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D652
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D652#FFFFFF#000000##000000
##A6D6521.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C842
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#ACCDBA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a6d652;
/* rgb */ color: rgb(166, 214, 82);
/* oklch */ color: oklch(81.6% 0.168 126.8);
Tailwind
colors: {
  custom: {
    50: '#c3e288',
    500: '#a6d652',
    950: '#000000',
  },
}
SCSS
$custom: #a6d652;
$custom-light: #c3e288;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d652",
  "rgb": {
    "r": 166,
    "g": 214,
    "b": 82
  },
  "hsl": {
    "h": 81.818,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8161,
    "c": 0.16803,
    "h": 126.8
  },
  "luminance": 0.56809
}

Semantic roles & 50–950 ramp

primary
#A6D652
secondary
#5A3A92
accent
#43E57E
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A6D652

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

Preview Lab → · Contrast checker → · Palette generator →

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