#A4A531#A4A531

#A4A531 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.0% C 0.134 H 109.9°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#A4A531
RGBrgb(164, 165, 49)
HSLhsl(61, 54%, 42%)
HSVhsv(61, 70%, 65%)
CMYKcmyk(0.6%, 0%, 70.3%, 35.3%)
CIE-LABlab(65.77, -14.61, 56.79)
CIE-LCHlch(65.77, 58.64, 104.42°)
OKLaboklab(69.99% -0.0458 0.1264)
OKLCHoklch(69.99% 0.134 109.9)
XYZxyz(29.3204, 35.0254, 8.1212)
Luminance0.3503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A531 #3231A5
analogous
#A56C31 #A4A531 #6AA531
triadic
#A4A531 #31A4A5 #A531A4
tetradic
#A4A531 #31A56C #3231A5 #A5316A
square
#A4A531 #31A56C #3231A5 #A5316A
split-complementary
#A4A531 #316AA5 #6C31A5
monochromatic
#464715 #757623 #A4A531 #C8C94A #D6D779

Accessibility & contrast

On white

2.62
#A4A531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#A4A531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A531
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A531#FFFFFF#000000##000000
##A4A5311.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1E
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#B09B8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a4a531;
/* rgb */ color: rgb(164, 165, 49);
/* oklch */ color: oklch(70.0% 0.134 109.9);
Tailwind
colors: {
  custom: {
    50: '#c2bf71',
    500: '#a4a531',
    950: '#000000',
  },
}
SCSS
$custom: #a4a531;
$custom-light: #c2bf71;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a531",
  "rgb": {
    "r": 164,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 60.517,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69988,
    "c": 0.13442,
    "h": 109.9
  },
  "luminance": 0.35025
}

Semantic roles & 50–950 ramp

primary
#A4A531
secondary
#7372C0
accent
#4ADE4C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A531

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

Preview Lab → · Contrast checker → · Palette generator →

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