#A6A920#A6A920

#A6A920 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.0% C 0.147 H 111.0°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#A6A920
RGBrgb(166, 169, 32)
HSLhsl(61, 68%, 39%)
HSVhsv(61, 81%, 66%)
CMYKcmyk(1.8%, 0%, 81.1%, 33.7%)
CIE-LABlab(66.97, -16.52, 63.55)
CIE-LCHlch(66.97, 65.66, 104.57°)
OKLaboklab(70.96% -0.0527 0.1376)
OKLCHoklch(70.96% 0.147 111)
XYZxyz(30.1757, 36.5881, 6.8389)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A920 #2320A9
analogous
#A96820 #A6A920 #62A920
triadic
#A6A920 #20A6A9 #A920A6
tetradic
#A6A920 #20A968 #2320A9 #A92062
square
#A6A920 #20A968 #2320A9 #A92062
split-complementary
#A6A920 #2062A9 #6820A9
monochromatic
#41420D #737616 #A6A920 #D4D82F #DFE162

Accessibility & contrast

On white

2.52
#A6A920 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#A6A920 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A920
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A920#FFFFFF#000000##000000
##A6A9201.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B8A52D
Tritanopia (blue-blind)
#B29E90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a6a920;
/* rgb */ color: rgb(166, 169, 32);
/* oklch */ color: oklch(71.0% 0.147 111.0);
Tailwind
colors: {
  custom: {
    50: '#c4c26a',
    500: '#a6a920',
    950: '#000000',
  },
}
SCSS
$custom: #a6a920;
$custom-light: #c4c26a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a920",
  "rgb": {
    "r": 166,
    "g": 169,
    "b": 32
  },
  "hsl": {
    "h": 61.314,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.70958,
    "c": 0.1473,
    "h": 111
  },
  "luminance": 0.36587
}

Semantic roles & 50–950 ramp

primary
#A6A920
secondary
#615FC6
accent
#3DEB41
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A920

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

Preview Lab → · Contrast checker → · Palette generator →

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