#A6A52D#A6A52D

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

Color values

HEX#A6A52D
RGBrgb(166, 165, 45)
HSLhsl(60, 57%, 41%)
HSVhsv(60, 73%, 65%)
CMYKcmyk(0%, 0.6%, 72.9%, 34.9%)
CIE-LABlab(65.91, -13.93, 58.46)
CIE-LCHlch(65.91, 60.10, 103.41°)
OKLaboklab(70.13% -0.0444 0.1291)
OKLCHoklch(70.13% 0.137 109)
XYZxyz(29.6558, 35.2076, 7.7157)
Luminance0.3521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A52D #2D2EA6
analogous
#A6692D #A6A52D #6BA62D
triadic
#A6A52D #2DA6A5 #A52DA6
tetradic
#A6A52D #2DA669 #2D2EA6 #A62D6B
square
#A6A52D #2DA669 #2D2EA6 #A62D6B
split-complementary
#A6A52D #2D6BA6 #692DA6
monochromatic
#464513 #767520 #A6A52D #CCCB44 #D9D874

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A52D#FFFFFF#000000##000000
##A6A52D1.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)
#B39E16
Deuteranopia (green-blind)
#B4A236
Tritanopia (blue-blind)
#B29A8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a6a52d;
/* rgb */ color: rgb(166, 165, 45);
/* oklch */ color: oklch(70.1% 0.137 109.0);
Tailwind
colors: {
  custom: {
    50: '#c4bf6f',
    500: '#a6a52d',
    950: '#000000',
  },
}
SCSS
$custom: #a6a52d;
$custom-light: #c4bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a52d",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 59.504,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70134,
    "c": 0.13654,
    "h": 109
  },
  "luminance": 0.35207
}

Semantic roles & 50–950 ramp

primary
#A6A52D
secondary
#6E6FC1
accent
#48E147
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A52D

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

Preview Lab → · Contrast checker → · Palette generator →

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