#A9A331#A9A331

#A9A331 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.0% C 0.132 H 106.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A9A331
RGBrgb(169, 163, 49)
HSLhsl(57, 55%, 43%)
HSVhsv(57, 71%, 66%)
CMYKcmyk(0%, 3.6%, 71%, 33.7%)
CIE-LABlab(65.63, -11.38, 56.80)
CIE-LCHlch(65.63, 57.93, 101.33°)
OKLaboklab(69.98% -0.037 0.1262)
OKLCHoklch(69.98% 0.132 106.3)
XYZxyz(30.0149, 34.8522, 8.0512)
Luminance0.3485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A331 #3137A9
analogous
#A96731 #A9A331 #73A931
triadic
#A9A331 #31A9A3 #A331A9
tetradic
#A9A331 #31A967 #3137A9 #A93173
square
#A9A331 #31A967 #3137A9 #A93173
split-complementary
#A9A331 #3173A9 #6731A9
monochromatic
#4A4715 #7A7523 #A9A331 #CBC54C #D9D47C

Accessibility & contrast

On white

2.63
#A9A331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A9A331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A331
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A331#FFFFFF#000000##000000
##A9A3311.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1E
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#B5988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a9a331;
/* rgb */ color: rgb(169, 163, 49);
/* oklch */ color: oklch(70.0% 0.132 106.3);
Tailwind
colors: {
  custom: {
    50: '#c6be71',
    500: '#a9a331',
    950: '#000000',
  },
}
SCSS
$custom: #a9a331;
$custom-light: #c6be71;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a331",
  "rgb": {
    "r": 169,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 57,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69983,
    "c": 0.13154,
    "h": 106.3
  },
  "luminance": 0.34851
}

Semantic roles & 50–950 ramp

primary
#A9A331
secondary
#7478C1
accent
#51DE49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A9A331

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

Preview Lab → · Contrast checker → · Palette generator →

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