#A5A328#A5A328

#A5A328 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.138 H 108.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#A5A328
RGBrgb(165, 163, 40)
HSLhsl(59, 61%, 40%)
HSVhsv(59, 76%, 65%)
CMYKcmyk(0%, 1.2%, 75.8%, 35.3%)
CIE-LABlab(65.24, -13.56, 59.53)
CIE-LCHlch(65.24, 61.05, 102.83°)
OKLaboklab(69.57% -0.0438 0.1305)
OKLCHoklch(69.57% 0.138 108.5)
XYZxyz(28.9984, 34.3479, 7.1094)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A328 #282AA5
analogous
#A56428 #A5A328 #68A528
triadic
#A5A328 #28A5A3 #A328A5
tetradic
#A5A328 #28A564 #282AA5 #A52868
square
#A5A328 #28A564 #282AA5 #A52868
split-complementary
#A5A328 #2868A5 #6428A5
monochromatic
#424210 #74721C #A5A328 #CFCD3B #DBDA6C

Accessibility & contrast

On white

2.67
#A5A328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#A5A328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A328
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A328#FFFFFF#000000##000000
##A5A3281.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0B
Deuteranopia (green-blind)
#B3A032
Tritanopia (blue-blind)
#B1988C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a328;
/* rgb */ color: rgb(165, 163, 40);
/* oklch */ color: oklch(69.6% 0.138 108.5);
Tailwind
colors: {
  custom: {
    50: '#c3be6c',
    500: '#a5a328',
    950: '#000000',
  },
}
SCSS
$custom: #a5a328;
$custom-light: #c3be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a328",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 59.04,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69567,
    "c": 0.13763,
    "h": 108.5
  },
  "luminance": 0.34347
}

Semantic roles & 50–950 ramp

primary
#A5A328
secondary
#6768C2
accent
#46E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A328

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

Preview Lab → · Contrast checker → · Palette generator →

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