#A9A42C#A9A42C

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

Color values

HEX#A9A42C
RGBrgb(169, 164, 44)
HSLhsl(58, 59%, 42%)
HSVhsv(58, 74%, 66%)
CMYKcmyk(0%, 3%, 74%, 33.7%)
CIE-LABlab(65.88, -12.14, 58.88)
CIE-LCHlch(65.88, 60.12, 101.66°)
OKLaboklab(70.17% -0.0396 0.1297)
OKLCHoklch(70.17% 0.136 107)
XYZxyz(30.0935, 35.1688, 7.5855)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A42C #2C31A9
analogous
#A9662C #A9A42C #70A92C
triadic
#A9A42C #2CA9A4 #A42CA9
tetradic
#A9A42C #2CA966 #2C31A9 #A92C70
square
#A9A42C #2CA966 #2C31A9 #A92C70
split-complementary
#A9A42C #2C70A9 #662CA9
monochromatic
#484613 #78751F #A9A42C #CEC944 #DBD774

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9A42C#FFFFFF#000000##000000
##A9A42C1.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)
#B29E14
Deuteranopia (green-blind)
#B5A235
Tritanopia (blue-blind)
#B6998D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a9a42c;
/* rgb */ color: rgb(169, 164, 44);
/* oklch */ color: oklch(70.2% 0.136 107.0);
Tailwind
colors: {
  custom: {
    50: '#c6be6e',
    500: '#a9a42c',
    950: '#000000',
  },
}
SCSS
$custom: #a9a42c;
$custom-light: #c6be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a42c",
  "rgb": {
    "r": 169,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 57.6,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70169,
    "c": 0.13563,
    "h": 107
  },
  "luminance": 0.35168
}

Semantic roles & 50–950 ramp

primary
#A9A42C
secondary
#6E72C3
accent
#4CE246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A9A42C

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

Preview Lab → · Contrast checker → · Palette generator →

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