#A9A31F#A9A31F

#A9A31F is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.141 H 106.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A9A31F
RGBrgb(169, 163, 31)
HSLhsl(57, 69%, 39%)
HSVhsv(57, 82%, 66%)
CMYKcmyk(0%, 3.6%, 81.7%, 33.7%)
CIE-LABlab(65.54, -12.13, 62.68)
CIE-LCHlch(65.54, 63.84, 100.95°)
OKLaboklab(69.88% -0.0407 0.1354)
OKLCHoklch(69.88% 0.141 106.7)
XYZxyz(29.7080, 34.7294, 6.4346)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A31F #1F25A9
analogous
#A95E1F #A9A31F #6AA91F
triadic
#A9A31F #1FA9A3 #A31FA9
tetradic
#A9A31F #1FA95E #1F25A9 #A91F6A
square
#A9A31F #1FA95E #1F25A9 #A91F6A
split-complementary
#A9A31F #1F6AA9 #5E1FA9
monochromatic
#423F0C #757116 #A9A31F #D8D12D #E2DC60

Accessibility & contrast

On white

2.64
#A9A31F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#A9A31F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A31F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A31F#FFFFFF#000000##000000
##A9A31F1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29C00
Deuteranopia (green-blind)
#B4A12B
Tritanopia (blue-blind)
#B6988B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a9a31f;
/* rgb */ color: rgb(169, 163, 31);
/* oklch */ color: oklch(69.9% 0.141 106.7);
Tailwind
colors: {
  custom: {
    50: '#c7bd68',
    500: '#a9a31f',
    950: '#000000',
  },
}
SCSS
$custom: #a9a31f;
$custom-light: #c7bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a31f",
  "rgb": {
    "r": 169,
    "g": 163,
    "b": 31
  },
  "hsl": {
    "h": 57.391,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69876,
    "c": 0.14136,
    "h": 106.7
  },
  "luminance": 0.34728
}

Semantic roles & 50–950 ramp

primary
#A9A31F
secondary
#5D62C7
accent
#44EC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141207
muted
#82817A

Preview Lab

Preview with #A9A31F

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

Preview Lab → · Contrast checker → · Palette generator →

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