#A6DC52#A6DC52

#A6DC52 is a very light, vivid yellow-green. Relative luminance 0.599; OKLCH L 83.0% C 0.176 H 128.0°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#A6DC52
RGBrgb(166, 220, 82)
HSLhsl(83, 66%, 59%)
HSVhsv(83, 63%, 86%)
CMYKcmyk(24.5%, 0%, 62.7%, 13.7%)
CIE-LABlab(81.78, -38.12, 60.30)
CIE-LCHlch(81.78, 71.34, 122.30°)
OKLaboklab(83% -0.1081 0.1385)
OKLCHoklch(83% 0.176 128)
XYZxyz(42.8420, 59.9017, 17.2861)
Luminance0.5990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6DC52 #8852DC
analogous
#DCCD52 #A6DC52 #61DC52
triadic
#A6DC52 #52A6DC #DC52A6
tetradic
#A6DC52 #52DCCD #8852DC #DC5261
square
#A6DC52 #52DCCD #8852DC #DC5261
split-complementary
#A6DC52 #5261DC #CD52DC
monochromatic
#67951E #8AC829 #A6DC52 #C0E685 #DAF1B8

Accessibility & contrast

On white

1.62
#A6DC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#A6DC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6DC52
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6DC52#FFFFFF#000000##000000
##A6DC521.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE41
Deuteranopia (green-blind)
#DFCA5C
Tritanopia (blue-blind)
#ABD3BF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #a6dc52;
/* rgb */ color: rgb(166, 220, 82);
/* oklch */ color: oklch(83.0% 0.176 128.0);
Tailwind
colors: {
  custom: {
    50: '#c4e788',
    500: '#a6dc52',
    950: '#000000',
  },
}
SCSS
$custom: #a6dc52;
$custom-light: #c4e788;
$custom-dark: #000000;
JSON
{
  "hex": "#a6dc52",
  "rgb": {
    "r": 166,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 83.478,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82997,
    "c": 0.17572,
    "h": 128
  },
  "luminance": 0.59903
}

Semantic roles & 50–950 ramp

primary
#A6DC52
secondary
#5E389A
accent
#3FE981
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A6DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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