#A9A41F#A9A41F

#A9A41F is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.142 H 107.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#A9A41F
RGBrgb(169, 164, 31)
HSLhsl(58, 69%, 39%)
HSVhsv(58, 82%, 66%)
CMYKcmyk(0%, 3%, 81.7%, 33.7%)
CIE-LABlab(65.82, -12.65, 62.92)
CIE-LCHlch(65.82, 64.18, 101.37°)
OKLaboklab(70.1% -0.0422 0.1359)
OKLCHoklch(70.1% 0.142 107.2)
XYZxyz(29.8862, 35.0859, 6.4941)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A41F #1F24A9
analogous
#A95F1F #A9A41F #69A91F
triadic
#A9A41F #1FA9A4 #A41FA9
tetradic
#A9A41F #1FA95F #1F24A9 #A91F69
square
#A9A41F #1FA95F #1F24A9 #A91F69
split-complementary
#A9A41F #1F69A9 #5F1FA9
monochromatic
#42400C #757216 #A9A41F #D8D22D #E2DD60

Accessibility & contrast

On white

2.62
#A9A41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#A9A41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A41F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A41F#FFFFFF#000000##000000
##A9A41F1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#B5A22B
Tritanopia (blue-blind)
#B6998C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a9a41f;
/* rgb */ color: rgb(169, 164, 31);
/* oklch */ color: oklch(70.1% 0.142 107.2);
Tailwind
colors: {
  custom: {
    50: '#c7be68',
    500: '#a9a41f',
    950: '#000000',
  },
}
SCSS
$custom: #a9a41f;
$custom-light: #c7be68;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a41f",
  "rgb": {
    "r": 169,
    "g": 164,
    "b": 31
  },
  "hsl": {
    "h": 57.826,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70098,
    "c": 0.14228,
    "h": 107.2
  },
  "luminance": 0.35085
}

Semantic roles & 50–950 ramp

primary
#A9A41F
secondary
#5D61C7
accent
#42EC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141207
muted
#82817A

Preview Lab

Preview with #A9A41F

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

Preview Lab → · Contrast checker → · Palette generator →

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