#A79920#A79920

#A79920 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.5% C 0.132 H 102.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#A79920
RGBrgb(167, 153, 32)
HSLhsl(54, 68%, 39%)
HSVhsv(54, 81%, 65%)
CMYKcmyk(0%, 8.4%, 80.8%, 34.5%)
CIE-LABlab(62.59, -7.71, 59.76)
CIE-LCHlch(62.59, 60.25, 97.35°)
OKLaboklab(67.49% -0.0282 0.1293)
OKLCHoklch(67.49% 0.132 102.3)
XYZxyz(27.5896, 31.1035, 5.9165)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79920 #202EA7
analogous
#A75620 #A79920 #72A720
triadic
#A79920 #20A799 #9920A7
tetradic
#A79920 #20A756 #202EA7 #A72072
square
#A79920 #20A756 #202EA7 #A72072
split-complementary
#A79920 #2072A7 #5620A7
monochromatic
#403B0C #746A16 #A79920 #D7C52D #E1D361

Accessibility & contrast

On white

2.91
#A79920 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#A79920 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79920
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79920#FFFFFF#000000##000000
##A799201.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#AC9A2A
Tritanopia (blue-blind)
#B48D83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a79920;
/* rgb */ color: rgb(167, 153, 32);
/* oklch */ color: oklch(67.5% 0.132 102.3);
Tailwind
colors: {
  custom: {
    50: '#c5b667',
    500: '#a79920',
    950: '#000000',
  },
}
SCSS
$custom: #a79920;
$custom-light: #c5b667;
$custom-dark: #000000;
JSON
{
  "hex": "#a79920",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 53.778,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67492,
    "c": 0.13238,
    "h": 102.3
  },
  "luminance": 0.31102
}

Semantic roles & 50–950 ramp

primary
#A79920
secondary
#5D68C5
accent
#4FEB3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79920

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

Preview Lab → · Contrast checker → · Palette generator →

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