#A9A71F#A9A71F

#A9A71F is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.8% C 0.145 H 108.7°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#A9A71F
RGBrgb(169, 167, 31)
HSLhsl(59, 69%, 39%)
HSVhsv(59, 82%, 66%)
CMYKcmyk(0%, 1.2%, 81.7%, 33.7%)
CIE-LABlab(66.65, -14.21, 63.64)
CIE-LCHlch(66.65, 65.21, 102.58°)
OKLaboklab(70.77% -0.0465 0.1375)
OKLCHoklch(70.77% 0.145 108.7)
XYZxyz(30.4295, 36.1724, 6.6751)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A71F #1F21A9
analogous
#A9621F #A9A71F #66A91F
triadic
#A9A71F #1FA9A7 #A71FA9
tetradic
#A9A71F #1FA962 #1F21A9 #A91F66
square
#A9A71F #1FA962 #1F21A9 #A91F66
split-complementary
#A9A71F #1F66A9 #621FA9
monochromatic
#42410C #757416 #A9A71F #D8D62D #E2E060

Accessibility & contrast

On white

2.55
#A9A71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#A9A71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A71F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A71F#FFFFFF#000000##000000
##A9A71F1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B7A42C
Tritanopia (blue-blind)
#B69C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a9a71f;
/* rgb */ color: rgb(169, 167, 31);
/* oklch */ color: oklch(70.8% 0.145 108.7);
Tailwind
colors: {
  custom: {
    50: '#c7c069',
    500: '#a9a71f',
    950: '#000000',
  },
}
SCSS
$custom: #a9a71f;
$custom-light: #c7c069;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a71f",
  "rgb": {
    "r": 169,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 59.13,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70765,
    "c": 0.1451,
    "h": 108.7
  },
  "luminance": 0.36171
}

Semantic roles & 50–950 ramp

primary
#A9A71F
secondary
#5D5FC7
accent
#3FEC3C
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #A9A71F

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

Preview Lab → · Contrast checker → · Palette generator →

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