#A6A322#A6A322

#A6A322 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.141 H 108.1°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A6A322
RGBrgb(166, 163, 34)
HSLhsl(59, 66%, 39%)
HSVhsv(59, 80%, 65%)
CMYKcmyk(0%, 1.8%, 79.5%, 34.9%)
CIE-LABlab(65.29, -13.36, 61.51)
CIE-LCHlch(65.29, 62.94, 102.25°)
OKLaboklab(69.62% -0.0437 0.1335)
OKLCHoklch(69.62% 0.141 108.1)
XYZxyz(29.1130, 34.4179, 6.6228)
Luminance0.3442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A322 #2225A6
analogous
#A66122 #A6A322 #67A622
triadic
#A6A322 #22A6A3 #A322A6
tetradic
#A6A322 #22A661 #2225A6 #A62267
square
#A6A322 #22A661 #2225A6 #A62267
split-complementary
#A6A322 #2267A6 #6122A6
monochromatic
#403F0D #737118 #A6A322 #D5D130 #DFDC63

Accessibility & contrast

On white

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

On black

7.88
#A6A322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A322
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A322#FFFFFF#000000##000000
##A6A3221.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B3A02D
Tritanopia (blue-blind)
#B2988B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a6a322;
/* rgb */ color: rgb(166, 163, 34);
/* oklch */ color: oklch(69.6% 0.141 108.1);
Tailwind
colors: {
  custom: {
    50: '#c4bd69',
    500: '#a6a322',
    950: '#000000',
  },
}
SCSS
$custom: #a6a322;
$custom-light: #c4bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a322",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 34
  },
  "hsl": {
    "h": 58.636,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69623,
    "c": 0.14052,
    "h": 108.1
  },
  "luminance": 0.34417
}

Semantic roles & 50–950 ramp

primary
#A6A322
secondary
#5F62C4
accent
#43E93F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A322

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

Preview Lab → · Contrast checker → · Palette generator →

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