#A4A522#A4A522

#A4A522 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.143 H 110.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#A4A522
RGBrgb(164, 165, 34)
HSLhsl(60, 66%, 39%)
HSVhsv(60, 79%, 65%)
CMYKcmyk(0.6%, 0%, 79.4%, 35.3%)
CIE-LABlab(65.69, -15.27, 61.79)
CIE-LCHlch(65.69, 63.65, 103.89°)
OKLaboklab(69.9% -0.049 0.1342)
OKLCHoklch(69.9% 0.143 110.1)
XYZxyz(29.0548, 34.9191, 6.7226)
Luminance0.3492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A522 #2322A5
analogous
#A56522 #A4A522 #63A522
triadic
#A4A522 #22A4A5 #A522A4
tetradic
#A4A522 #22A565 #2322A5 #A52263
square
#A4A522 #22A565 #2322A5 #A52263
split-complementary
#A4A522 #2263A5 #6522A5
monochromatic
#3F400D #727218 #A4A522 #D3D430 #DEDF63

Accessibility & contrast

On white

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

On black

7.98
#A4A522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A522
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A522#FFFFFF#000000##000000
##A4A5221.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4a522;
/* rgb */ color: rgb(164, 165, 34);
/* oklch */ color: oklch(69.9% 0.143 110.1);
Tailwind
colors: {
  custom: {
    50: '#c3bf6a',
    500: '#a4a522',
    950: '#000000',
  },
}
SCSS
$custom: #a4a522;
$custom-light: #c3bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a522",
  "rgb": {
    "r": 164,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 60.458,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69895,
    "c": 0.14289,
    "h": 110.1
  },
  "luminance": 0.34918
}

Semantic roles & 50–950 ramp

primary
#A4A522
secondary
#605FC4
accent
#3FE940
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A522

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

Preview Lab → · Contrast checker → · Palette generator →

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