#A9A42A#A9A42A

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

Color values

HEX#A9A42A
RGBrgb(169, 164, 42)
HSLhsl(58, 60%, 41%)
HSVhsv(58, 75%, 66%)
CMYKcmyk(0%, 3%, 75.1%, 33.7%)
CIE-LABlab(65.87, -12.23, 59.56)
CIE-LCHlch(65.87, 60.81, 101.61°)
OKLaboklab(70.16% -0.0401 0.1308)
OKLCHoklch(70.16% 0.137 107)
XYZxyz(30.0568, 35.1542, 7.3922)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A42A #2A2FA9
analogous
#A9652A #A9A42A #6FA92A
triadic
#A9A42A #2AA9A4 #A42AA9
tetradic
#A9A42A #2AA965 #2A2FA9 #A92A6F
square
#A9A42A #2AA965 #2A2FA9 #A92A6F
split-complementary
#A9A42A #2A6FA9 #652AA9
monochromatic
#474512 #78741E #A9A42A #D0CA41 #DCD872

Accessibility & contrast

On white

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

On black

8.03
#A9A42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A42A
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A42A#FFFFFF#000000##000000
##A9A42A1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E0F
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#B6998D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a9a42a;
/* rgb */ color: rgb(169, 164, 42);
/* oklch */ color: oklch(70.2% 0.137 107.0);
Tailwind
colors: {
  custom: {
    50: '#c6be6d',
    500: '#a9a42a',
    950: '#000000',
  },
}
SCSS
$custom: #a9a42a;
$custom-light: #c6be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a42a",
  "rgb": {
    "r": 169,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 57.638,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70157,
    "c": 0.13678,
    "h": 107
  },
  "luminance": 0.35153
}

Semantic roles & 50–950 ramp

primary
#A9A42A
secondary
#6C6FC3
accent
#4BE344
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A9A42A

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

Preview Lab → · Contrast checker → · Palette generator →

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