#A6A720#A6A720

#A6A720 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.5% C 0.145 H 110.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#A6A720
RGBrgb(166, 167, 32)
HSLhsl(60, 68%, 39%)
HSVhsv(60, 81%, 65%)
CMYKcmyk(0.6%, 0%, 80.8%, 34.5%)
CIE-LABlab(66.40, -15.49, 63.06)
CIE-LCHlch(66.40, 64.93, 103.81°)
OKLaboklab(70.51% -0.0498 0.1365)
OKLCHoklch(70.51% 0.145 110.1)
XYZxyz(29.8064, 35.8496, 6.7158)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A720 #2120A7
analogous
#A76520 #A6A720 #63A720
triadic
#A6A720 #20A6A7 #A720A6
tetradic
#A6A720 #20A765 #2120A7 #A72063
square
#A6A720 #20A765 #2120A7 #A72063
split-complementary
#A6A720 #2063A7 #6520A7
monochromatic
#40400C #737416 #A6A720 #D6D72D #E0E161

Accessibility & contrast

On white

2.57
#A6A720 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#A6A720 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A720
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A720#FFFFFF#000000##000000
##A6A7201.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a720;
/* rgb */ color: rgb(166, 167, 32);
/* oklch */ color: oklch(70.5% 0.145 110.1);
Tailwind
colors: {
  custom: {
    50: '#c4c069',
    500: '#a6a720',
    950: '#000000',
  },
}
SCSS
$custom: #a6a720;
$custom-light: #c4c069;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a720",
  "rgb": {
    "r": 166,
    "g": 167,
    "b": 32
  },
  "hsl": {
    "h": 60.444,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.70508,
    "c": 0.14532,
    "h": 110.1
  },
  "luminance": 0.35849
}

Semantic roles & 50–950 ramp

primary
#A6A720
secondary
#5E5DC5
accent
#3DEB3E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A720

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

Preview Lab → · Contrast checker → · Palette generator →

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