#A6A332#A6A332

#A6A332 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.131 H 107.9°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#A6A332
RGBrgb(166, 163, 50)
HSLhsl(58, 54%, 42%)
HSVhsv(58, 70%, 65%)
CMYKcmyk(0%, 1.8%, 69.9%, 34.9%)
CIE-LABlab(65.38, -12.64, 56.08)
CIE-LCHlch(65.38, 57.49, 102.70°)
OKLaboklab(69.72% -0.0403 0.125)
OKLCHoklch(69.72% 0.131 107.9)
XYZxyz(29.3999, 34.5326, 8.1338)
Luminance0.3453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A332 #3235A6
analogous
#A66932 #A6A332 #6FA632
triadic
#A6A332 #32A6A3 #A332A6
tetradic
#A6A332 #32A669 #3235A6 #A6326F
square
#A6A332 #32A669 #3235A6 #A6326F
split-complementary
#A6A332 #326FA6 #6932A6
monochromatic
#484716 #777524 #A6A332 #C9C64C #D7D57B

Accessibility & contrast

On white

2.66
#A6A332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#A6A332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A332
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A332#FFFFFF#000000##000000
##A6A3321.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D20
Deuteranopia (green-blind)
#B3A13A
Tritanopia (blue-blind)
#B2988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a332;
/* rgb */ color: rgb(166, 163, 50);
/* oklch */ color: oklch(69.7% 0.131 107.9);
Tailwind
colors: {
  custom: {
    50: '#c4be71',
    500: '#a6a332',
    950: '#000000',
  },
}
SCSS
$custom: #a6a332;
$custom-light: #c4be71;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a332",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 58.448,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69723,
    "c": 0.13133,
    "h": 107.9
  },
  "luminance": 0.34532
}

Semantic roles & 50–950 ramp

primary
#A6A332
secondary
#7476C0
accent
#4FDD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A332

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

Preview Lab → · Contrast checker → · Palette generator →

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