#A9A42D#A9A42D

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

Color values

HEX#A9A42D
RGBrgb(169, 164, 45)
HSLhsl(58, 58%, 42%)
HSVhsv(58, 73%, 66%)
CMYKcmyk(0%, 3%, 73.4%, 33.7%)
CIE-LABlab(65.89, -12.10, 58.53)
CIE-LCHlch(65.89, 59.76, 101.68°)
OKLaboklab(70.18% -0.0394 0.1291)
OKLCHoklch(70.18% 0.135 107)
XYZxyz(30.1125, 35.1764, 7.6857)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A42D #2D32A9
analogous
#A9662D #A9A42D #70A92D
triadic
#A9A42D #2DA9A4 #A42DA9
tetradic
#A9A42D #2DA966 #2D32A9 #A92D70
square
#A9A42D #2DA966 #2D32A9 #A92D70
split-complementary
#A9A42D #2D70A9 #662DA9
monochromatic
#484613 #797520 #A9A42D #CEC846 #DAD676

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9A42D#FFFFFF#000000##000000
##A9A42D1.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)
#B29E16
Deuteranopia (green-blind)
#B5A236
Tritanopia (blue-blind)
#B6998D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a9a42d;
/* rgb */ color: rgb(169, 164, 45);
/* oklch */ color: oklch(70.2% 0.135 107.0);
Tailwind
colors: {
  custom: {
    50: '#c6be6f',
    500: '#a9a42d',
    950: '#000000',
  },
}
SCSS
$custom: #a9a42d;
$custom-light: #c6be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a42d",
  "rgb": {
    "r": 169,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 57.581,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70176,
    "c": 0.13503,
    "h": 107
  },
  "luminance": 0.35175
}

Semantic roles & 50–950 ramp

primary
#A9A42D
secondary
#6F73C2
accent
#4DE147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A9A42D

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

Preview Lab → · Contrast checker → · Palette generator →

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