#A8A931#A8A931

#A8A931 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.2% C 0.138 H 109.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#A8A931
RGBrgb(168, 169, 49)
HSLhsl(61, 55%, 43%)
HSVhsv(61, 71%, 66%)
CMYKcmyk(0.6%, 0%, 71%, 33.7%)
CIE-LABlab(67.22, -14.93, 58.33)
CIE-LCHlch(67.22, 60.21, 104.36°)
OKLaboklab(71.23% -0.0469 0.1295)
OKLCHoklch(71.23% 0.138 109.9)
XYZxyz(30.8919, 36.9234, 8.4048)
Luminance0.3692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A931 #3231A9
analogous
#A96E31 #A8A931 #6CA931
triadic
#A8A931 #31A8A9 #A931A8
tetradic
#A8A931 #31A96E #3231A9 #A9316C
square
#A8A931 #31A96E #3231A9 #A9316C
split-complementary
#A8A931 #316CA9 #6E31A9
monochromatic
#4A4A15 #797A23 #A8A931 #CACB4C #D8D97C

Accessibility & contrast

On white

2.50
#A8A931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#A8A931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A931
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A931#FFFFFF#000000##000000
##A8A9311.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21C
Deuteranopia (green-blind)
#B8A53A
Tritanopia (blue-blind)
#B49E92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a8a931;
/* rgb */ color: rgb(168, 169, 49);
/* oklch */ color: oklch(71.2% 0.138 109.9);
Tailwind
colors: {
  custom: {
    50: '#c5c271',
    500: '#a8a931',
    950: '#000000',
  },
}
SCSS
$custom: #a8a931;
$custom-light: #c5c271;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a931",
  "rgb": {
    "r": 168,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 60.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71228,
    "c": 0.13772,
    "h": 109.9
  },
  "luminance": 0.36923
}

Semantic roles & 50–950 ramp

primary
#A8A931
secondary
#7574C1
accent
#49DE4B
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A931

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

Preview Lab → · Contrast checker → · Palette generator →

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