#A79822#A79822

#A79822 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.3% C 0.131 H 101.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A79822
RGBrgb(167, 152, 34)
HSLhsl(53, 66%, 39%)
HSVhsv(53, 80%, 65%)
CMYKcmyk(0%, 9%, 79.6%, 34.5%)
CIE-LABlab(62.33, -7.11, 58.90)
CIE-LCHlch(62.33, 59.33, 96.88°)
OKLaboklab(67.28% -0.0263 0.1279)
OKLCHoklch(67.28% 0.131 101.6)
XYZxyz(27.4546, 30.7887, 6.0097)
Luminance0.3079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79822 #2231A7
analogous
#A75622 #A79822 #74A722
triadic
#A79822 #22A798 #9822A7
tetradic
#A79822 #22A756 #2231A7 #A72274
square
#A79822 #22A756 #2231A7 #A72274
split-complementary
#A79822 #2274A7 #5622A7
monochromatic
#413B0D #746A18 #A79822 #D5C331 #DFD264

Accessibility & contrast

On white

2.93
#A79822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#A79822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79822
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79822#FFFFFF#000000##000000
##A798221.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79301
Deuteranopia (green-blind)
#AB992B
Tritanopia (blue-blind)
#B48D82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a79822;
/* rgb */ color: rgb(167, 152, 34);
/* oklch */ color: oklch(67.3% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#c5b568',
    500: '#a79822',
    950: '#000000',
  },
}
SCSS
$custom: #a79822;
$custom-light: #c5b568;
$custom-dark: #000000;
JSON
{
  "hex": "#a79822",
  "rgb": {
    "r": 167,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 53.233,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67283,
    "c": 0.13058,
    "h": 101.6
  },
  "luminance": 0.30787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A79822

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

Preview Lab → · Contrast checker → · Palette generator →

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