#A6A533#A6A533

#A6A533 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.2% C 0.133 H 108.9°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#A6A533
RGBrgb(166, 165, 51)
HSLhsl(59, 53%, 43%)
HSVhsv(59, 69%, 65%)
CMYKcmyk(0%, 0.6%, 69.3%, 34.9%)
CIE-LABlab(65.95, -13.63, 56.26)
CIE-LCHlch(65.95, 57.89, 103.62°)
OKLaboklab(70.18% -0.0429 0.1255)
OKLCHoklch(70.18% 0.133 108.9)
XYZxyz(29.7796, 35.2572, 8.3680)
Luminance0.3526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A533 #3334A6
analogous
#A66B33 #A6A533 #6EA633
triadic
#A6A533 #33A6A5 #A533A6
tetradic
#A6A533 #33A66B #3334A6 #A6336E
square
#A6A533 #33A66B #3334A6 #A6336E
split-complementary
#A6A533 #336EA6 #6B33A6
monochromatic
#484816 #777625 #A6A533 #C9C74E #D7D67C

Accessibility & contrast

On white

2.61
#A6A533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#A6A533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A533
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A533#FFFFFF#000000##000000
##A6A5331.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E21
Deuteranopia (green-blind)
#B4A23B
Tritanopia (blue-blind)
#B29A8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a6a533;
/* rgb */ color: rgb(166, 165, 51);
/* oklch */ color: oklch(70.2% 0.133 108.9);
Tailwind
colors: {
  custom: {
    50: '#c4bf72',
    500: '#a6a533',
    950: '#000000',
  },
}
SCSS
$custom: #a6a533;
$custom-light: #c4bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a533",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 59.478,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70177,
    "c": 0.13268,
    "h": 108.9
  },
  "luminance": 0.35256
}

Semantic roles & 50–950 ramp

primary
#A6A533
secondary
#7576C0
accent
#4DDC4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A533

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

Preview Lab → · Contrast checker → · Palette generator →

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