#A6A32F#A6A32F

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

Color values

HEX#A6A32F
RGBrgb(166, 163, 47)
HSLhsl(58, 56%, 42%)
HSVhsv(58, 72%, 65%)
CMYKcmyk(0%, 1.8%, 71.7%, 34.9%)
CIE-LABlab(65.36, -12.80, 57.20)
CIE-LCHlch(65.36, 58.62, 102.61°)
OKLaboklab(69.7% -0.041 0.1268)
OKLCHoklch(69.7% 0.133 107.9)
XYZxyz(29.3373, 34.5076, 7.8040)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A32F #2F32A6
analogous
#A6672F #A6A32F #6EA62F
triadic
#A6A32F #2FA6A3 #A32FA6
tetradic
#A6A32F #2FA667 #2F32A6 #A62F6E
square
#A6A32F #2FA667 #2F32A6 #A62F6E
split-complementary
#A6A32F #2F6EA6 #672FA6
monochromatic
#474514 #767421 #A6A32F #CBC847 #D8D677

Accessibility & contrast

On white

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

On black

7.90
#A6A32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A32F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A32F#FFFFFF#000000##000000
##A6A32F1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C1B
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#B2988C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a32f;
/* rgb */ color: rgb(166, 163, 47);
/* oklch */ color: oklch(69.7% 0.133 107.9);
Tailwind
colors: {
  custom: {
    50: '#c4be70',
    500: '#a6a32f',
    950: '#000000',
  },
}
SCSS
$custom: #a6a32f;
$custom-light: #c4be70;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a32f",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 58.487,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69701,
    "c": 0.13329,
    "h": 107.9
  },
  "luminance": 0.34507
}

Semantic roles & 50–950 ramp

primary
#A6A32F
secondary
#7072C1
accent
#4CDF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A32F

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

Preview Lab → · Contrast checker → · Palette generator →

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