#A6A52F#A6A52F

#A6A52F is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.1% C 0.135 H 108.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#A6A52F
RGBrgb(166, 165, 47)
HSLhsl(59, 56%, 42%)
HSVhsv(59, 72%, 65%)
CMYKcmyk(0%, 0.6%, 71.7%, 34.9%)
CIE-LABlab(65.92, -13.84, 57.75)
CIE-LCHlch(65.92, 59.38, 103.48°)
OKLaboklab(70.15% -0.0439 0.128)
OKLCHoklch(70.15% 0.135 108.9)
XYZxyz(29.6952, 35.2234, 7.9233)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A52F #2F30A6
analogous
#A66A2F #A6A52F #6CA62F
triadic
#A6A52F #2FA6A5 #A52FA6
tetradic
#A6A52F #2FA66A #2F30A6 #A62F6C
square
#A6A52F #2FA66A #2F30A6 #A62F6C
split-complementary
#A6A52F #2F6CA6 #6A2FA6
monochromatic
#474614 #767621 #A6A52F #CBCA47 #D8D877

Accessibility & contrast

On white

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

On black

8.04
#A6A52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A52F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A52F#FFFFFF#000000##000000
##A6A52F1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a52f;
/* rgb */ color: rgb(166, 165, 47);
/* oklch */ color: oklch(70.1% 0.135 108.9);
Tailwind
colors: {
  custom: {
    50: '#c4bf70',
    500: '#a6a52f',
    950: '#000000',
  },
}
SCSS
$custom: #a6a52f;
$custom-light: #c4bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a52f",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 59.496,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70147,
    "c": 0.1353,
    "h": 108.9
  },
  "luminance": 0.35222
}

Semantic roles & 50–950 ramp

primary
#A6A52F
secondary
#7071C1
accent
#4ADF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A52F

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

Preview Lab → · Contrast checker → · Palette generator →

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