#A8A328#A8A328

#A8A328 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.137 H 107.1°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#A8A328
RGBrgb(168, 163, 40)
HSLhsl(58, 62%, 41%)
HSVhsv(58, 76%, 66%)
CMYKcmyk(0%, 3%, 76.2%, 34.1%)
CIE-LABlab(65.49, -12.24, 59.86)
CIE-LCHlch(65.49, 61.10, 101.56°)
OKLaboklab(69.83% -0.0402 0.1311)
OKLCHoklch(69.83% 0.137 107.1)
XYZxyz(29.6298, 34.6735, 7.1390)
Luminance0.3467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A328 #282DA8
analogous
#A86328 #A8A328 #6DA828
triadic
#A8A328 #28A8A3 #A328A8
tetradic
#A8A328 #28A863 #282DA8 #A8286D
square
#A8A328 #28A863 #282DA8 #A8286D
split-complementary
#A8A328 #286DA8 #6328A8
monochromatic
#454310 #77731C #A8A328 #D1CB3D #DCD86E

Accessibility & contrast

On white

2.65
#A8A328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#A8A328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A328
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A328#FFFFFF#000000##000000
##A8A3281.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D0A
Deuteranopia (green-blind)
#B4A132
Tritanopia (blue-blind)
#B5988C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a328;
/* rgb */ color: rgb(168, 163, 40);
/* oklch */ color: oklch(69.8% 0.137 107.1);
Tailwind
colors: {
  custom: {
    50: '#c6bd6c',
    500: '#a8a328',
    950: '#000000',
  },
}
SCSS
$custom: #a8a328;
$custom-light: #c6bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a328",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 57.656,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69834,
    "c": 0.13711,
    "h": 107.1
  },
  "luminance": 0.34672
}

Semantic roles & 50–950 ramp

primary
#A8A328
secondary
#696CC3
accent
#49E543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A328

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

Preview Lab → · Contrast checker → · Palette generator →

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