#A6A428#A6A428

#A6A428 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.138 H 108.6°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#A6A428
RGBrgb(166, 164, 40)
HSLhsl(59, 61%, 40%)
HSVhsv(59, 76%, 65%)
CMYKcmyk(0%, 1.2%, 75.9%, 34.9%)
CIE-LABlab(65.60, -13.64, 59.90)
CIE-LCHlch(65.60, 61.43, 102.83°)
OKLaboklab(69.88% -0.044 0.1312)
OKLCHoklch(69.88% 0.138 108.6)
XYZxyz(29.3855, 34.8121, 7.1786)
Luminance0.3481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A428 #282AA6
analogous
#A66528 #A6A428 #69A628
triadic
#A6A428 #28A6A4 #A428A6
tetradic
#A6A428 #28A665 #282AA6 #A62869
square
#A6A428 #28A665 #282AA6 #A62869
split-complementary
#A6A428 #2869A6 #6528A6
monochromatic
#434310 #75731C #A6A428 #D0CD3B #DCDA6D

Accessibility & contrast

On white

2.64
#A6A428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#A6A428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A428
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A428#FFFFFF#000000##000000
##A6A4281.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D0A
Deuteranopia (green-blind)
#B4A132
Tritanopia (blue-blind)
#B2998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a428;
/* rgb */ color: rgb(166, 164, 40);
/* oklch */ color: oklch(69.9% 0.138 108.6);
Tailwind
colors: {
  custom: {
    50: '#c4be6c',
    500: '#a6a428',
    950: '#000000',
  },
}
SCSS
$custom: #a6a428;
$custom-light: #c4be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a428",
  "rgb": {
    "r": 166,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 59.048,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69879,
    "c": 0.13843,
    "h": 108.6
  },
  "luminance": 0.34811
}

Semantic roles & 50–950 ramp

primary
#A6A428
secondary
#6769C2
accent
#46E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A428

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

Preview Lab → · Contrast checker → · Palette generator →

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