#A6DF52#A6DF52

#A6DF52 is a very light, vivid yellow-green. Relative luminance 0.615; OKLCH L 83.7% C 0.180 H 128.5°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#A6DF52
RGBrgb(166, 223, 82)
HSLhsl(84, 69%, 60%)
HSVhsv(84, 63%, 87%)
CMYKcmyk(25.6%, 0%, 63.2%, 12.5%)
CIE-LABlab(82.64, -39.46, 61.23)
CIE-LCHlch(82.64, 72.84, 122.80°)
OKLaboklab(83.69% -0.1118 0.1405)
OKLCHoklch(83.69% 0.18 128.5)
XYZxyz(43.6364, 61.4906, 17.5509)
Luminance0.6149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6DF52 #8B52DF
analogous
#DFD152 #A6DF52 #60DF52
triadic
#A6DF52 #52A6DF #DF52A6
tetradic
#A6DF52 #52DFD1 #8B52DF #DF5260
square
#A6DF52 #52DFD1 #8B52DF #DF5260
split-complementary
#A6DF52 #5260DF #D152DF
monochromatic
#679A1D #8ACE26 #A6DF52 #C1E986 #DBF2B9

Accessibility & contrast

On white

1.58
#A6DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#A6DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6DF52
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6DF52#FFFFFF#000000##000000
##A6DF521.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D040
Deuteranopia (green-blind)
#E1CC5D
Tritanopia (blue-blind)
#ABD6C2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #a6df52;
/* rgb */ color: rgb(166, 223, 82);
/* oklch */ color: oklch(83.7% 0.180 128.5);
Tailwind
colors: {
  custom: {
    50: '#c4e989',
    500: '#a6df52',
    950: '#000000',
  },
}
SCSS
$custom: #a6df52;
$custom-light: #c4e989;
$custom-dark: #000000;
JSON
{
  "hex": "#a6df52",
  "rgb": {
    "r": 166,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 84.255,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83691,
    "c": 0.17953,
    "h": 128.5
  },
  "luminance": 0.61492
}

Semantic roles & 50–950 ramp

primary
#A6DF52
secondary
#61379E
accent
#3CEC83
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A6DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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