#A6D351#A6D351

#A6D351 is a light, vivid yellow-green. Relative luminance 0.553; OKLCH L 80.9% C 0.165 H 126.1°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#A6D351
RGBrgb(166, 211, 81)
HSLhsl(81, 60%, 57%)
HSVhsv(81, 62%, 83%)
CMYKcmyk(21.3%, 0%, 61.6%, 17.3%)
CIE-LABlab(79.21, -34.11, 57.91)
CIE-LCHlch(79.21, 67.21, 120.50°)
OKLaboklab(80.91% -0.0971 0.1334)
OKLCHoklch(80.91% 0.165 126.1)
XYZxyz(40.5054, 55.2891, 16.3208)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D351 #7E51D3
analogous
#D3BF51 #A6D351 #65D351
triadic
#A6D351 #51A6D3 #D351A6
tetradic
#A6D351 #51D3BF #7E51D3 #D35165
square
#A6D351 #51D3BF #7E51D3 #D35165
split-complementary
#A6D351 #5165D3 #BF51D3
monochromatic
#648722 #89B82F #A6D351 #BFDF82 #D8ECB3

Accessibility & contrast

On white

1.74
#A6D351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#A6D351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D351
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D351#FFFFFF#000000##000000
##A6D3511.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC642
Deuteranopia (green-blind)
#D7C35A
Tritanopia (blue-blind)
#ACCAB8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a6d351;
/* rgb */ color: rgb(166, 211, 81);
/* oklch */ color: oklch(80.9% 0.165 126.1);
Tailwind
colors: {
  custom: {
    50: '#c3e087',
    500: '#a6d351',
    950: '#000000',
  },
}
SCSS
$custom: #a6d351;
$custom-light: #c3e087;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d351",
  "rgb": {
    "r": 166,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 80.769,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80908,
    "c": 0.16496,
    "h": 126.1
  },
  "luminance": 0.5529
}

Semantic roles & 50–950 ramp

primary
#A6D351
secondary
#573A8E
accent
#45E37C
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A6D351

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

Preview Lab → · Contrast checker → · Palette generator →

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