#A6DF51#A6DF51

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

Color values

HEX#A6DF51
RGBrgb(166, 223, 81)
HSLhsl(84, 69%, 60%)
HSVhsv(84, 64%, 87%)
CMYKcmyk(25.6%, 0%, 63.7%, 12.5%)
CIE-LABlab(82.63, -39.54, 61.63)
CIE-LCHlch(82.63, 73.22, 122.68°)
OKLaboklab(83.68% -0.1121 0.1412)
OKLCHoklch(83.68% 0.18 128.4)
XYZxyz(43.5986, 61.4755, 17.3519)
Luminance0.6148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6DF51 #8A51DF
analogous
#DFD151 #A6DF51 #5FDF51
triadic
#A6DF51 #51A6DF #DF51A6
tetradic
#A6DF51 #51DFD1 #8A51DF #DF515F
square
#A6DF51 #51DFD1 #8A51DF #DF515F
split-complementary
#A6DF51 #515FDF #D151DF
monochromatic
#67991C #8ACD26 #A6DF51 #C0E985 #DBF2B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6DF51#FFFFFF#000000##000000
##A6DF511.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)
#E9D03F
Deuteranopia (green-blind)
#E1CC5C
Tritanopia (blue-blind)
#ABD6C2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #a6df51;
/* rgb */ color: rgb(166, 223, 81);
/* oklch */ color: oklch(83.7% 0.180 128.4);
Tailwind
colors: {
  custom: {
    50: '#c4e988',
    500: '#a6df51',
    950: '#000000',
  },
}
SCSS
$custom: #a6df51;
$custom-light: #c4e988;
$custom-dark: #000000;
JSON
{
  "hex": "#a6df51",
  "rgb": {
    "r": 166,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 84.085,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83682,
    "c": 0.18028,
    "h": 128.4
  },
  "luminance": 0.61476
}

Semantic roles & 50–950 ramp

primary
#A6DF51
secondary
#60379D
accent
#3CEC83
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A6DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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