#A8A928#A8A928

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

Color values

HEX#A8A928
RGBrgb(168, 169, 40)
HSLhsl(60, 62%, 41%)
HSVhsv(60, 76%, 66%)
CMYKcmyk(0.6%, 0%, 76.3%, 33.7%)
CIE-LABlab(67.17, -15.35, 61.40)
CIE-LCHlch(67.17, 63.29, 104.03°)
OKLaboklab(71.17% -0.0489 0.1344)
OKLCHoklch(71.17% 0.143 110)
XYZxyz(30.7205, 36.8549, 7.5025)
Luminance0.3685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A928 #2928A9
analogous
#A96928 #A8A928 #67A928
triadic
#A8A928 #28A8A9 #A928A8
tetradic
#A8A928 #28A969 #2928A9 #A92867
square
#A8A928 #28A969 #2928A9 #A92867
split-complementary
#A8A928 #2867A9 #6928A9
monochromatic
#464611 #77781C #A8A928 #D0D13D #DCDD6F

Accessibility & contrast

On white

2.51
#A8A928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#A8A928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A928
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A928#FFFFFF#000000##000000
##A8A9281.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A206
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#B49E91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a8a928;
/* rgb */ color: rgb(168, 169, 40);
/* oklch */ color: oklch(71.2% 0.143 110.0);
Tailwind
colors: {
  custom: {
    50: '#c5c26d',
    500: '#a8a928',
    950: '#000000',
  },
}
SCSS
$custom: #a8a928;
$custom-light: #c5c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a928",
  "rgb": {
    "r": 168,
    "g": 169,
    "b": 40
  },
  "hsl": {
    "h": 60.465,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.7117,
    "c": 0.14297,
    "h": 110
  },
  "luminance": 0.36854
}

Semantic roles & 50–950 ramp

primary
#A8A928
secondary
#6A69C4
accent
#43E544
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A928

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

Preview Lab → · Contrast checker → · Palette generator →

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