#A9A52A#A9A52A

#A9A52A is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.4% C 0.138 H 107.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#A9A52A
RGBrgb(169, 165, 42)
HSLhsl(58, 60%, 41%)
HSVhsv(58, 75%, 66%)
CMYKcmyk(0%, 2.4%, 75.1%, 33.7%)
CIE-LABlab(66.15, -12.76, 59.82)
CIE-LCHlch(66.15, 61.17, 102.04°)
OKLaboklab(70.38% -0.0415 0.1313)
OKLCHoklch(70.38% 0.138 107.6)
XYZxyz(30.2364, 35.5135, 7.4521)
Luminance0.3551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A52A #2A2EA9
analogous
#A9662A #A9A52A #6EA92A
triadic
#A9A52A #2AA9A5 #A52AA9
tetradic
#A9A52A #2AA966 #2A2EA9 #A92A6E
square
#A9A52A #2AA966 #2A2EA9 #A92A6E
split-complementary
#A9A52A #2A6EA9 #662AA9
monochromatic
#474512 #78751E #A9A52A #D0CB41 #DCD872

Accessibility & contrast

On white

2.59
#A9A52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#A9A52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A52A
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A52A#FFFFFF#000000##000000
##A9A52A1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0F
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#B69A8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a9a52a;
/* rgb */ color: rgb(169, 165, 42);
/* oklch */ color: oklch(70.4% 0.138 107.6);
Tailwind
colors: {
  custom: {
    50: '#c6bf6d',
    500: '#a9a52a',
    950: '#000000',
  },
}
SCSS
$custom: #a9a52a;
$custom-light: #c6bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a52a",
  "rgb": {
    "r": 169,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 58.11,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70378,
    "c": 0.13775,
    "h": 107.6
  },
  "luminance": 0.35512
}

Semantic roles & 50–950 ramp

primary
#A9A52A
secondary
#6C6FC3
accent
#49E344
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A9A52A

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

Preview Lab → · Contrast checker → · Palette generator →

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