#A9A71C#A9A71C

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

Color values

HEX#A9A71C
RGBrgb(169, 167, 28)
HSLhsl(59, 72%, 39%)
HSVhsv(59, 83%, 66%)
CMYKcmyk(0%, 1.2%, 83.4%, 33.7%)
CIE-LABlab(66.64, -14.30, 64.41)
CIE-LCHlch(66.64, 65.98, 102.52°)
OKLaboklab(70.75% -0.047 0.1386)
OKLCHoklch(70.75% 0.146 108.7)
XYZxyz(30.3917, 36.1573, 6.4765)
Luminance0.3616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A71C #1C1EA9
analogous
#A9601C #A9A71C #64A91C
triadic
#A9A71C #1CA9A7 #A71CA9
tetradic
#A9A71C #1CA960 #1C1EA9 #A91C64
square
#A9A71C #1CA960 #1C1EA9 #A91C64
split-complementary
#A9A71C #1C64A9 #601CA9
monochromatic
#403F0B #747313 #A9A71C #DBD927 #E4E25B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9A71C#FFFFFF#000000##000000
##A9A71C1.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)
#B7A42A
Tritanopia (blue-blind)
#B69C8E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a9a71c;
/* rgb */ color: rgb(169, 167, 28);
/* oklch */ color: oklch(70.8% 0.146 108.7);
Tailwind
colors: {
  custom: {
    50: '#c7c068',
    500: '#a9a71c',
    950: '#000000',
  },
}
SCSS
$custom: #a9a71c;
$custom-light: #c7c068;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a71c",
  "rgb": {
    "r": 169,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 59.149,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70752,
    "c": 0.14631,
    "h": 108.7
  },
  "luminance": 0.36156
}

Semantic roles & 50–950 ramp

primary
#A9A71C
secondary
#595BC8
accent
#3CEE39
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#141207
muted
#82817A

Preview Lab

Preview with #A9A71C

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

Preview Lab → · Contrast checker → · Palette generator →

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