#A6A520#A6A520

#A6A520 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.143 H 109.1°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#A6A520
RGBrgb(166, 165, 32)
HSLhsl(60, 68%, 39%)
HSVhsv(60, 81%, 65%)
CMYKcmyk(0%, 0.6%, 80.7%, 34.9%)
CIE-LABlab(65.84, -14.46, 62.57)
CIE-LCHlch(65.84, 64.22, 103.02°)
OKLaboklab(70.06% -0.047 0.1354)
OKLCHoklch(70.06% 0.143 109.1)
XYZxyz(29.4429, 35.1225, 6.5946)
Luminance0.3512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A520 #2021A6
analogous
#A66220 #A6A520 #64A620
triadic
#A6A520 #20A6A5 #A520A6
tetradic
#A6A520 #20A662 #2021A6 #A62064
square
#A6A520 #20A662 #2021A6 #A62064
split-complementary
#A6A520 #2064A6 #6220A6
monochromatic
#3F3F0C #737216 #A6A520 #D6D52D #E0DF60

Accessibility & contrast

On white

2.62
#A6A520 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#A6A520 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A520
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A520#FFFFFF#000000##000000
##A6A5201.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B5A22C
Tritanopia (blue-blind)
#B29A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a6a520;
/* rgb */ color: rgb(166, 165, 32);
/* oklch */ color: oklch(70.1% 0.143 109.1);
Tailwind
colors: {
  custom: {
    50: '#c4bf69',
    500: '#a6a520',
    950: '#000000',
  },
}
SCSS
$custom: #a6a520;
$custom-light: #c4bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a520",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 59.552,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.7006,
    "c": 0.14337,
    "h": 109.1
  },
  "luminance": 0.35122
}

Semantic roles & 50–950 ramp

primary
#A6A520
secondary
#5D5EC5
accent
#3FEB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A520

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

Preview Lab → · Contrast checker → · Palette generator →

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