#A6A328#A6A328

#A6A328 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.137 H 108.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A6A328
RGBrgb(166, 163, 40)
HSLhsl(59, 61%, 40%)
HSVhsv(59, 76%, 65%)
CMYKcmyk(0%, 1.8%, 75.9%, 34.9%)
CIE-LABlab(65.32, -13.12, 59.64)
CIE-LCHlch(65.32, 61.07, 102.41°)
OKLaboklab(69.66% -0.0426 0.1307)
OKLCHoklch(69.66% 0.137 108.1)
XYZxyz(29.2072, 34.4556, 7.1191)
Luminance0.3446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A328 #282BA6
analogous
#A66428 #A6A328 #6AA628
triadic
#A6A328 #28A6A3 #A328A6
tetradic
#A6A328 #28A664 #282BA6 #A6286A
square
#A6A328 #28A664 #282BA6 #A6286A
split-complementary
#A6A328 #286AA6 #6428A6
monochromatic
#434210 #75731C #A6A328 #D0CC3B #DCD96D

Accessibility & contrast

On white

2.66
#A6A328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A6A328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A328
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A328#FFFFFF#000000##000000
##A6A3281.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0B
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#B2988C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a328;
/* rgb */ color: rgb(166, 163, 40);
/* oklch */ color: oklch(69.7% 0.137 108.1);
Tailwind
colors: {
  custom: {
    50: '#c4be6c',
    500: '#a6a328',
    950: '#000000',
  },
}
SCSS
$custom: #a6a328;
$custom-light: #c4be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a328",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 58.571,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69656,
    "c": 0.13745,
    "h": 108.1
  },
  "luminance": 0.34455
}

Semantic roles & 50–950 ramp

primary
#A6A328
secondary
#676AC2
accent
#47E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A328

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

Preview Lab → · Contrast checker → · Palette generator →

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