#A9A01F#A9A01F

#A9A01F is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.2% C 0.139 H 105.2°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A9A01F
RGBrgb(169, 160, 31)
HSLhsl(56, 69%, 39%)
HSVhsv(56, 82%, 66%)
CMYKcmyk(0%, 5.3%, 81.7%, 33.7%)
CIE-LABlab(64.71, -10.56, 61.96)
CIE-LCHlch(64.71, 62.85, 99.67°)
OKLaboklab(69.21% -0.0363 0.1338)
OKLCHoklch(69.21% 0.139 105.2)
XYZxyz(29.1816, 33.6767, 6.2592)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A01F #1F28A9
analogous
#A95B1F #A9A01F #6DA91F
triadic
#A9A01F #1FA9A0 #A01FA9
tetradic
#A9A01F #1FA95B #1F28A9 #A91F6D
square
#A9A01F #1FA95B #1F28A9 #A91F6D
split-complementary
#A9A01F #1F6DA9 #5B1FA9
monochromatic
#423E0C #756F16 #A9A01F #D8CD2D #E2D960

Accessibility & contrast

On white

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

On black

7.74
#A9A01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A01F
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A01F#FFFFFF#000000##000000
##A9A01F1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B29F2B
Tritanopia (blue-blind)
#B69489
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a9a01f;
/* rgb */ color: rgb(169, 160, 31);
/* oklch */ color: oklch(69.2% 0.139 105.2);
Tailwind
colors: {
  custom: {
    50: '#c7bb68',
    500: '#a9a01f',
    950: '#000000',
  },
}
SCSS
$custom: #a9a01f;
$custom-light: #c7bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a01f",
  "rgb": {
    "r": 169,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 56.087,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69213,
    "c": 0.13866,
    "h": 105.2
  },
  "luminance": 0.33676
}

Semantic roles & 50–950 ramp

primary
#A9A01F
secondary
#5D64C7
accent
#47EC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141107
muted
#82807A

Preview Lab

Preview with #A9A01F

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

Preview Lab → · Contrast checker → · Palette generator →

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