#A79922#A79922

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

Color values

HEX#A79922
RGBrgb(167, 153, 34)
HSLhsl(54, 66%, 39%)
HSVhsv(54, 80%, 65%)
CMYKcmyk(0%, 8.4%, 79.6%, 34.5%)
CIE-LABlab(62.60, -7.64, 59.15)
CIE-LCHlch(62.60, 59.64, 97.36°)
OKLaboklab(67.5% -0.0278 0.1284)
OKLCHoklch(67.5% 0.131 102.2)
XYZxyz(27.6176, 31.1147, 6.0641)
Luminance0.3111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79922 #2230A7
analogous
#A75722 #A79922 #73A722
triadic
#A79922 #22A799 #9922A7
tetradic
#A79922 #22A757 #2230A7 #A72273
square
#A79922 #22A757 #2230A7 #A72273
split-complementary
#A79922 #2273A7 #5722A7
monochromatic
#413C0D #746A18 #A79922 #D5C431 #DFD264

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A79922#FFFFFF#000000##000000
##A799221.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)
#AC9A2B
Tritanopia (blue-blind)
#B48E83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a79922;
/* rgb */ color: rgb(167, 153, 34);
/* oklch */ color: oklch(67.5% 0.131 102.2);
Tailwind
colors: {
  custom: {
    50: '#c5b668',
    500: '#a79922',
    950: '#000000',
  },
}
SCSS
$custom: #a79922;
$custom-light: #c5b668;
$custom-dark: #000000;
JSON
{
  "hex": "#a79922",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 53.684,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67502,
    "c": 0.13141,
    "h": 102.2
  },
  "luminance": 0.31113
}

Semantic roles & 50–950 ramp

primary
#A79922
secondary
#606BC5
accent
#51E93F
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79922

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

Preview Lab → · Contrast checker → · Palette generator →

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