#A6A52A#A6A52A

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

Color values

HEX#A6A52A
RGBrgb(166, 165, 42)
HSLhsl(60, 60%, 41%)
HSVhsv(60, 75%, 65%)
CMYKcmyk(0%, 0.6%, 74.7%, 34.9%)
CIE-LABlab(65.89, -14.07, 59.49)
CIE-LCHlch(65.89, 61.14, 103.31°)
OKLaboklab(70.11% -0.0451 0.1308)
OKLCHoklch(70.11% 0.138 109)
XYZxyz(29.6000, 35.1853, 7.4223)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A52A #2A2BA6
analogous
#A6672A #A6A52A #69A62A
triadic
#A6A52A #2AA6A5 #A52AA6
tetradic
#A6A52A #2AA667 #2A2BA6 #A62A69
square
#A6A52A #2AA667 #2A2BA6 #A62A69
split-complementary
#A6A52A #2A69A6 #672AA6
monochromatic
#444411 #75741E #A6A52A #CECD3F #DBDA70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A52A#FFFFFF#000000##000000
##A6A52A1.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)
#B39E0F
Deuteranopia (green-blind)
#B4A234
Tritanopia (blue-blind)
#B29A8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a6a52a;
/* rgb */ color: rgb(166, 165, 42);
/* oklch */ color: oklch(70.1% 0.138 109.0);
Tailwind
colors: {
  custom: {
    50: '#c4bf6d',
    500: '#a6a52a',
    950: '#000000',
  },
}
SCSS
$custom: #a6a52a;
$custom-light: #c4bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a52a",
  "rgb": {
    "r": 166,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 59.516,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70114,
    "c": 0.1383,
    "h": 109
  },
  "luminance": 0.35184
}

Semantic roles & 50–950 ramp

primary
#A6A52A
secondary
#6A6BC2
accent
#46E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A52A

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

Preview Lab → · Contrast checker → · Palette generator →

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