#A6A928#A6A928

#A6A928 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.0% C 0.143 H 110.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#A6A928
RGBrgb(166, 169, 40)
HSLhsl(61, 62%, 41%)
HSVhsv(61, 76%, 66%)
CMYKcmyk(1.8%, 0%, 76.3%, 33.7%)
CIE-LABlab(67.00, -16.22, 61.19)
CIE-LCHlch(67.00, 63.30, 104.85°)
OKLaboklab(71% -0.0512 0.134)
OKLCHoklch(71% 0.143 110.9)
XYZxyz(30.2979, 36.6370, 7.4827)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A928 #2B28A9
analogous
#A96B28 #A6A928 #65A928
triadic
#A6A928 #28A6A9 #A928A6
tetradic
#A6A928 #28A96B #2B28A9 #A92865
square
#A6A928 #28A96B #2B28A9 #A92865
split-complementary
#A6A928 #2865A9 #6B28A9
monochromatic
#454611 #75781C #A6A928 #CED13D #DADD6F

Accessibility & contrast

On white

2.52
#A6A928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#A6A928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A928
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A928#FFFFFF#000000##000000
##A6A9281.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A106
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#B29E91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a6a928;
/* rgb */ color: rgb(166, 169, 40);
/* oklch */ color: oklch(71.0% 0.143 110.9);
Tailwind
colors: {
  custom: {
    50: '#c4c26d',
    500: '#a6a928',
    950: '#000000',
  },
}
SCSS
$custom: #a6a928;
$custom-light: #c4c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a928",
  "rgb": {
    "r": 166,
    "g": 169,
    "b": 40
  },
  "hsl": {
    "h": 61.395,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70999,
    "c": 0.14344,
    "h": 110.9
  },
  "luminance": 0.36636
}

Semantic roles & 50–950 ramp

primary
#A6A928
secondary
#6B69C4
accent
#43E547
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A928

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

Preview Lab → · Contrast checker → · Palette generator →

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