#A6D951#A6D951

#A6D951 is a very light, vivid yellow-green. Relative luminance 0.583; OKLCH L 82.3% C 0.173 H 127.3°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#A6D951
RGBrgb(166, 217, 81)
HSLhsl(83, 64%, 58%)
HSVhsv(83, 63%, 85%)
CMYKcmyk(23.5%, 0%, 62.7%, 14.9%)
CIE-LABlab(80.92, -36.85, 59.78)
CIE-LCHlch(80.92, 70.22, 121.65°)
OKLaboklab(82.29% -0.1047 0.1373)
OKLCHoklch(82.29% 0.173 127.3)
XYZxyz(42.0239, 58.3260, 16.8270)
Luminance0.5833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D951 #8451D9
analogous
#D9C851 #A6D951 #62D951
triadic
#A6D951 #51A6D9 #D951A6
tetradic
#A6D951 #51D9C8 #8451D9 #D95162
square
#A6D951 #51D9C8 #8451D9 #D95162
split-complementary
#A6D951 #5162D9 #C851D9
monochromatic
#66901F #89C22A #A6D951 #C0E483 #D9EFB5

Accessibility & contrast

On white

1.66
#A6D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#A6D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D951
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D951#FFFFFF#000000##000000
##A6D9511.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB40
Deuteranopia (green-blind)
#DCC85B
Tritanopia (blue-blind)
#ACD0BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a6d951;
/* rgb */ color: rgb(166, 217, 81);
/* oklch */ color: oklch(82.3% 0.173 127.3);
Tailwind
colors: {
  custom: {
    50: '#c4e588',
    500: '#a6d951',
    950: '#000000',
  },
}
SCSS
$custom: #a6d951;
$custom-light: #c4e588;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d951",
  "rgb": {
    "r": 166,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 82.5,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82294,
    "c": 0.17265,
    "h": 127.3
  },
  "luminance": 0.58327
}

Semantic roles & 50–950 ramp

primary
#A6D951
secondary
#5C3995
accent
#41E77F
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A6D951

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

Preview Lab → · Contrast checker → · Palette generator →

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