#A4A528#A4A528

#A4A528 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.9% C 0.140 H 110.0°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#A4A528
RGBrgb(164, 165, 40)
HSLhsl(60, 61%, 40%)
HSVhsv(60, 76%, 65%)
CMYKcmyk(0.6%, 0%, 75.8%, 35.3%)
CIE-LABlab(65.72, -15.04, 59.94)
CIE-LCHlch(65.72, 61.80, 104.08°)
OKLaboklab(69.93% -0.0478 0.1314)
OKLCHoklch(69.93% 0.14 110)
XYZxyz(29.1490, 34.9568, 7.2189)
Luminance0.3496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A528 #2928A5
analogous
#A56728 #A4A528 #65A528
triadic
#A4A528 #28A4A5 #A528A4
tetradic
#A4A528 #28A567 #2928A5 #A52865
square
#A4A528 #28A567 #2928A5 #A52865
split-complementary
#A4A528 #2865A5 #6728A5
monochromatic
#424210 #73741C #A4A528 #CECF3B #DADB6C

Accessibility & contrast

On white

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

On black

7.99
#A4A528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A528
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A528#FFFFFF#000000##000000
##A4A5281.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E09
Deuteranopia (green-blind)
#B4A132
Tritanopia (blue-blind)
#B09A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a4a528;
/* rgb */ color: rgb(164, 165, 40);
/* oklch */ color: oklch(69.9% 0.140 110.0);
Tailwind
colors: {
  custom: {
    50: '#c3bf6c',
    500: '#a4a528',
    950: '#000000',
  },
}
SCSS
$custom: #a4a528;
$custom-light: #c3bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a528",
  "rgb": {
    "r": 164,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 60.48,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69928,
    "c": 0.13984,
    "h": 110
  },
  "luminance": 0.34956
}

Semantic roles & 50–950 ramp

primary
#A4A528
secondary
#6867C2
accent
#44E445
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A528

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

Preview Lab → · Contrast checker → · Palette generator →

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