#A6A52E#A6A52E

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

Color values

HEX#A6A52E
RGBrgb(166, 165, 46)
HSLhsl(60, 57%, 42%)
HSVhsv(60, 72%, 65%)
CMYKcmyk(0%, 0.6%, 72.3%, 34.9%)
CIE-LABlab(65.92, -13.89, 58.11)
CIE-LCHlch(65.92, 59.74, 103.44°)
OKLaboklab(70.14% -0.0442 0.1286)
OKLCHoklch(70.14% 0.136 109)
XYZxyz(29.6752, 35.2154, 7.8183)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A52E #2E2FA6
analogous
#A6692E #A6A52E #6BA62E
triadic
#A6A52E #2EA6A5 #A52EA6
tetradic
#A6A52E #2EA669 #2E2FA6 #A62E6B
square
#A6A52E #2EA669 #2E2FA6 #A62E6B
split-complementary
#A6A52E #2E6BA6 #692EA6
monochromatic
#464613 #767521 #A6A52E #CCCB46 #D9D876

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A52E#FFFFFF#000000##000000
##A6A52E1.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)
#B39E18
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#B29A8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a6a52e;
/* rgb */ color: rgb(166, 165, 46);
/* oklch */ color: oklch(70.1% 0.136 109.0);
Tailwind
colors: {
  custom: {
    50: '#c4bf6f',
    500: '#a6a52e',
    950: '#000000',
  },
}
SCSS
$custom: #a6a52e;
$custom-light: #c4bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a52e",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 59.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.7014,
    "c": 0.13593,
    "h": 109
  },
  "luminance": 0.35215
}

Semantic roles & 50–950 ramp

primary
#A6A52E
secondary
#6F70C1
accent
#49E048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A52E

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

Preview Lab → · Contrast checker → · Palette generator →

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