#A6D751#A6D751

#A6D751 is a light, vivid yellow-green. Relative luminance 0.573; OKLCH L 81.8% C 0.170 H 126.9°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#A6D751
RGBrgb(166, 215, 81)
HSLhsl(82, 63%, 58%)
HSVhsv(82, 62%, 84%)
CMYKcmyk(22.8%, 0%, 62.3%, 15.7%)
CIE-LABlab(80.35, -35.94, 59.16)
CIE-LCHlch(80.35, 69.22, 121.28°)
OKLaboklab(81.83% -0.1022 0.136)
OKLCHoklch(81.83% 0.17 126.9)
XYZxyz(41.5115, 57.3013, 16.6562)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D751 #8251D7
analogous
#D7C551 #A6D751 #63D751
triadic
#A6D751 #51A6D7 #D751A6
tetradic
#A6D751 #51D7C5 #8251D7 #D75163
square
#A6D751 #51D7C5 #8251D7 #D75163
split-complementary
#A6D751 #5163D7 #C551D7
monochromatic
#658D20 #89BF2C #A6D751 #BFE283 #D9EEB5

Accessibility & contrast

On white

1.69
#A6D751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#A6D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D751
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D751#FFFFFF#000000##000000
##A6D7511.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#DBC65B
Tritanopia (blue-blind)
#ACCEBB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a6d751;
/* rgb */ color: rgb(166, 215, 81);
/* oklch */ color: oklch(81.8% 0.170 126.9);
Tailwind
colors: {
  custom: {
    50: '#c4e387',
    500: '#a6d751',
    950: '#000000',
  },
}
SCSS
$custom: #a6d751;
$custom-light: #c4e387;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d751",
  "rgb": {
    "r": 166,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 81.94,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81831,
    "c": 0.17009,
    "h": 126.9
  },
  "luminance": 0.57302
}

Semantic roles & 50–950 ramp

primary
#A6D751
secondary
#5A3993
accent
#42E67E
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A6D751

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

Preview Lab → · Contrast checker → · Palette generator →

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