#A4A728#A4A728

#A4A728 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.4% C 0.142 H 110.9°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A4A728
RGBrgb(164, 167, 40)
HSLhsl(61, 61%, 41%)
HSVhsv(61, 76%, 65%)
CMYKcmyk(1.8%, 0%, 76%, 34.5%)
CIE-LABlab(66.28, -16.07, 60.46)
CIE-LCHlch(66.28, 62.56, 104.88°)
OKLaboklab(70.38% -0.0507 0.1325)
OKLCHoklch(70.38% 0.142 110.9)
XYZxyz(29.5126, 35.6840, 7.3401)
Luminance0.3568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A728 #2B28A7
analogous
#A76A28 #A4A728 #65A728
triadic
#A4A728 #28A4A7 #A728A4
tetradic
#A4A728 #28A76A #2B28A7 #A72865
square
#A4A728 #28A76A #2B28A7 #A72865
split-complementary
#A4A728 #2865A7 #6A28A7
monochromatic
#434410 #74761C #A4A728 #CDD03C #D9DC6D

Accessibility & contrast

On white

2.58
#A4A728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#A4A728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A728
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A728#FFFFFF#000000##000000
##A4A7281.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F08
Deuteranopia (green-blind)
#B5A333
Tritanopia (blue-blind)
#B09C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a4a728;
/* rgb */ color: rgb(164, 167, 40);
/* oklch */ color: oklch(70.4% 0.142 110.9);
Tailwind
colors: {
  custom: {
    50: '#c3c06d',
    500: '#a4a728',
    950: '#000000',
  },
}
SCSS
$custom: #a4a728;
$custom-light: #c3c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a728",
  "rgb": {
    "r": 164,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 61.417,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70378,
    "c": 0.14187,
    "h": 110.9
  },
  "luminance": 0.35683
}

Semantic roles & 50–950 ramp

primary
#A4A728
secondary
#6A68C3
accent
#43E447
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A728

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

Preview Lab → · Contrast checker → · Palette generator →

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