#A6A620#A6A620

#A6A620 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.144 H 109.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#A6A620
RGBrgb(166, 166, 32)
HSLhsl(60, 68%, 39%)
HSVhsv(60, 81%, 65%)
CMYKcmyk(0%, 0%, 80.7%, 34.9%)
CIE-LABlab(66.12, -14.98, 62.81)
CIE-LCHlch(66.12, 64.57, 103.41°)
OKLaboklab(70.28% -0.0484 0.136)
OKLCHoklch(70.28% 0.144 109.6)
XYZxyz(29.6240, 35.4846, 6.6550)
Luminance0.3548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A620 #2020A6
analogous
#A66320 #A6A620 #63A620
triadic
#A6A620 #20A6A6 #A620A6
tetradic
#A6A620 #20A663 #2020A6 #A62063
square
#A6A620 #20A663 #2020A6 #A62063
split-complementary
#A6A620 #2063A6 #6320A6
monochromatic
#3F3F0C #737316 #A6A620 #D6D62D #E0E060

Accessibility & contrast

On white

2.59
#A6A620 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#A6A620 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A620
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A620#FFFFFF#000000##000000
##A6A6201.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B6A32D
Tritanopia (blue-blind)
#B29B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a6a620;
/* rgb */ color: rgb(166, 166, 32);
/* oklch */ color: oklch(70.3% 0.144 109.6);
Tailwind
colors: {
  custom: {
    50: '#c4c069',
    500: '#a6a620',
    950: '#000000',
  },
}
SCSS
$custom: #a6a620;
$custom-light: #c4c069;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a620",
  "rgb": {
    "r": 166,
    "g": 166,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.70284,
    "c": 0.14433,
    "h": 109.6
  },
  "luminance": 0.35484
}

Semantic roles & 50–950 ramp

primary
#A6A620
secondary
#5D5DC5
accent
#3DEB3D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A620

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

Preview Lab → · Contrast checker → · Palette generator →

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