#A9A02F#A9A02F

#A9A02F is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.3% C 0.130 H 104.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#A9A02F
RGBrgb(169, 160, 47)
HSLhsl(56, 56%, 42%)
HSVhsv(56, 72%, 66%)
CMYKcmyk(0%, 5.3%, 72.2%, 33.7%)
CIE-LABlab(64.79, -9.90, 56.74)
CIE-LCHlch(64.79, 57.59, 99.90°)
OKLaboklab(69.31% -0.0331 0.1257)
OKLCHoklch(69.31% 0.13 104.7)
XYZxyz(29.4473, 33.7830, 7.6584)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A02F #2F38A9
analogous
#A9632F #A9A02F #75A92F
triadic
#A9A02F #2FA9A0 #A02FA9
tetradic
#A9A02F #2FA963 #2F38A9 #A92F75
square
#A9A02F #2FA963 #2F38A9 #A92F75
split-complementary
#A9A02F #2F75A9 #632FA9
monochromatic
#494514 #797322 #A9A02F #CCC349 #DAD379

Accessibility & contrast

On white

2.71
#A9A02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#A9A02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A02F
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A02F#FFFFFF#000000##000000
##A9A02F1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1C
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#B6958A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a9a02f;
/* rgb */ color: rgb(169, 160, 47);
/* oklch */ color: oklch(69.3% 0.130 104.7);
Tailwind
colors: {
  custom: {
    50: '#c6bb6f',
    500: '#a9a02f',
    950: '#000000',
  },
}
SCSS
$custom: #a9a02f;
$custom-light: #c6bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a02f",
  "rgb": {
    "r": 169,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 55.574,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69307,
    "c": 0.13,
    "h": 104.7
  },
  "luminance": 0.33782
}

Semantic roles & 50–950 ramp

primary
#A9A02F
secondary
#7278C2
accent
#53E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A9A02F

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

Preview Lab → · Contrast checker → · Palette generator →

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