#A4A428#A4A428

#A4A428 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.7% C 0.139 H 109.5°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A4A428
RGBrgb(164, 164, 40)
HSLhsl(60, 61%, 40%)
HSVhsv(60, 76%, 64%)
CMYKcmyk(0%, 0%, 75.6%, 35.7%)
CIE-LABlab(65.43, -14.52, 59.68)
CIE-LCHlch(65.43, 61.42, 103.67°)
OKLaboklab(69.7% -0.0464 0.1309)
OKLCHoklch(69.7% 0.139 109.5)
XYZxyz(28.9694, 34.5975, 7.1591)
Luminance0.3460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A428 #2828A4
analogous
#A46628 #A4A428 #66A428
triadic
#A4A428 #28A4A4 #A428A4
tetradic
#A4A428 #28A466 #2828A4 #A42866
square
#A4A428 #28A466 #2828A4 #A42866
split-complementary
#A4A428 #2866A4 #6628A4
monochromatic
#424210 #73731C #A4A428 #CFCF3A #DBDB6B

Accessibility & contrast

On white

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

On black

7.92
#A4A428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A428
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A428#FFFFFF#000000##000000
##A4A4281.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D0A
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#B0998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a4a428;
/* rgb */ color: rgb(164, 164, 40);
/* oklch */ color: oklch(69.7% 0.139 109.5);
Tailwind
colors: {
  custom: {
    50: '#c3be6c',
    500: '#a4a428',
    950: '#000000',
  },
}
SCSS
$custom: #a4a428;
$custom-light: #c3be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a428",
  "rgb": {
    "r": 164,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.69704,
    "c": 0.13883,
    "h": 109.5
  },
  "luminance": 0.34597
}

Semantic roles & 50–950 ramp

primary
#A4A428
secondary
#6666C1
accent
#44E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A428

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

Preview Lab → · Contrast checker → · Palette generator →

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