#A3A522#A3A522

#A3A522 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.8% C 0.143 H 110.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#A3A522
RGBrgb(163, 165, 34)
HSLhsl(61, 66%, 39%)
HSVhsv(61, 79%, 65%)
CMYKcmyk(1.2%, 0%, 79.4%, 35.3%)
CIE-LABlab(65.60, -15.71, 61.68)
CIE-LCHlch(65.60, 63.65, 104.29°)
OKLaboklab(69.81% -0.0502 0.1341)
OKLCHoklch(69.81% 0.143 110.5)
XYZxyz(28.8492, 34.8131, 6.7130)
Luminance0.3481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A522 #2422A5
analogous
#A56622 #A3A522 #62A522
triadic
#A3A522 #22A3A5 #A522A3
tetradic
#A3A522 #22A566 #2422A5 #A52262
square
#A3A522 #22A566 #2422A5 #A52262
split-complementary
#A3A522 #2262A5 #6622A5
monochromatic
#3F400D #717218 #A3A522 #D2D430 #DDDF63

Accessibility & contrast

On white

2.64
#A3A522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#A3A522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3A522
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3A522#FFFFFF#000000##000000
##A3A5221.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#B4A12E
Tritanopia (blue-blind)
#AF9A8D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a3a522;
/* rgb */ color: rgb(163, 165, 34);
/* oklch */ color: oklch(69.8% 0.143 110.5);
Tailwind
colors: {
  custom: {
    50: '#c2bf6a',
    500: '#a3a522',
    950: '#000000',
  },
}
SCSS
$custom: #a3a522;
$custom-light: #c2bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a522",
  "rgb": {
    "r": 163,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 60.916,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69809,
    "c": 0.14313,
    "h": 110.5
  },
  "luminance": 0.34812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A3A522

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

Preview Lab → · Contrast checker → · Palette generator →

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