#A6A320#A6A320

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

Color values

HEX#A6A320
RGBrgb(166, 163, 32)
HSLhsl(59, 68%, 39%)
HSVhsv(59, 81%, 65%)
CMYKcmyk(0%, 1.8%, 80.7%, 34.9%)
CIE-LABlab(65.28, -13.43, 62.08)
CIE-LCHlch(65.28, 63.51, 102.20°)
OKLaboklab(69.61% -0.0441 0.1344)
OKLCHoklch(69.61% 0.141 108.2)
XYZxyz(29.0850, 34.4067, 6.4753)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A320 #2023A6
analogous
#A66020 #A6A320 #66A620
triadic
#A6A320 #20A6A3 #A320A6
tetradic
#A6A320 #20A660 #2023A6 #A62066
square
#A6A320 #20A660 #2023A6 #A62066
split-complementary
#A6A320 #2066A6 #6020A6
monochromatic
#3F3E0C #737116 #A6A320 #D6D32D #E0DD60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A320#FFFFFF#000000##000000
##A6A3201.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)
#B3A02C
Tritanopia (blue-blind)
#B3988B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a6a320;
/* rgb */ color: rgb(166, 163, 32);
/* oklch */ color: oklch(69.6% 0.141 108.2);
Tailwind
colors: {
  custom: {
    50: '#c4bd69',
    500: '#a6a320',
    950: '#000000',
  },
}
SCSS
$custom: #a6a320;
$custom-light: #c4bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a320",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 32
  },
  "hsl": {
    "h": 58.657,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.69613,
    "c": 0.14144,
    "h": 108.2
  },
  "luminance": 0.34406
}

Semantic roles & 50–950 ramp

primary
#A6A320
secondary
#5D5FC5
accent
#41EB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A320

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

Preview Lab → · Contrast checker → · Palette generator →

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