#A9A42E#A9A42E

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

Color values

HEX#A9A42E
RGBrgb(169, 164, 46)
HSLhsl(58, 57%, 42%)
HSVhsv(58, 73%, 66%)
CMYKcmyk(0%, 3%, 72.8%, 33.7%)
CIE-LABlab(65.89, -12.05, 58.17)
CIE-LCHlch(65.89, 59.41, 101.70°)
OKLaboklab(70.18% -0.0392 0.1286)
OKLCHoklch(70.18% 0.134 107)
XYZxyz(30.1320, 35.1842, 7.7883)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A42E #2E33A9
analogous
#A9672E #A9A42E #71A92E
triadic
#A9A42E #2EA9A4 #A42EA9
tetradic
#A9A42E #2EA967 #2E33A9 #A92E71
square
#A9A42E #2EA967 #2E33A9 #A92E71
split-complementary
#A9A42E #2E71A9 #672EA9
monochromatic
#494714 #797521 #A9A42E #CDC847 #DAD677

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9A42E#FFFFFF#000000##000000
##A9A42E1.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)
#B29E18
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#B5998D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a9a42e;
/* rgb */ color: rgb(169, 164, 46);
/* oklch */ color: oklch(70.2% 0.134 107.0);
Tailwind
colors: {
  custom: {
    50: '#c6be6f',
    500: '#a9a42e',
    950: '#000000',
  },
}
SCSS
$custom: #a9a42e;
$custom-light: #c6be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a42e",
  "rgb": {
    "r": 169,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 57.561,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70183,
    "c": 0.13442,
    "h": 107
  },
  "luminance": 0.35183
}

Semantic roles & 50–950 ramp

primary
#A9A42E
secondary
#7174C2
accent
#4EE047
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A9A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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