#A79522#A79522

#A79522 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.6% C 0.128 H 99.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A79522
RGBrgb(167, 149, 34)
HSLhsl(52, 66%, 39%)
HSVhsv(52, 80%, 65%)
CMYKcmyk(0%, 10.8%, 79.6%, 34.5%)
CIE-LABlab(61.50, -5.49, 58.16)
CIE-LCHlch(61.50, 58.42, 95.40°)
OKLaboklab(66.63% -0.0218 0.1263)
OKLCHoklch(66.63% 0.128 99.8)
XYZxyz(26.9739, 29.8272, 5.8495)
Luminance0.2983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79522 #2234A7
analogous
#A75322 #A79522 #76A722
triadic
#A79522 #22A795 #9522A7
tetradic
#A79522 #22A753 #2234A7 #A72276
square
#A79522 #22A753 #2234A7 #A72276
split-complementary
#A79522 #2276A7 #5322A7
monochromatic
#413A0D #746818 #A79522 #D5BF31 #DFCF64

Accessibility & contrast

On white

3.01
#A79522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#A79522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79522
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79522#FFFFFF#000000##000000
##A795221.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49103
Deuteranopia (green-blind)
#A9972B
Tritanopia (blue-blind)
#B58980
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a79522;
/* rgb */ color: rgb(167, 149, 34);
/* oklch */ color: oklch(66.6% 0.128 99.8);
Tailwind
colors: {
  custom: {
    50: '#c5b368',
    500: '#a79522',
    950: '#000000',
  },
}
SCSS
$custom: #a79522;
$custom-light: #c5b368;
$custom-dark: #000000;
JSON
{
  "hex": "#a79522",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 51.88,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66629,
    "c": 0.12818,
    "h": 99.8
  },
  "luminance": 0.29826
}

Semantic roles & 50–950 ramp

primary
#A79522
secondary
#606EC5
accent
#56E93F
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79522

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

Preview Lab → · Contrast checker → · Palette generator →

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