#A79222#A79222

#A79222 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 66.0% C 0.126 H 97.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A79222
RGBrgb(167, 146, 34)
HSLhsl(51, 66%, 39%)
HSVhsv(51, 80%, 65%)
CMYKcmyk(0%, 12.6%, 79.6%, 34.5%)
CIE-LABlab(60.68, -3.87, 57.43)
CIE-LCHlch(60.68, 57.56, 93.86°)
OKLaboklab(65.98% -0.0172 0.1247)
OKLCHoklch(65.98% 0.126 97.9)
XYZxyz(26.5054, 28.8902, 5.6933)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79222 #2237A7
analogous
#A74F22 #A79222 #7AA722
triadic
#A79222 #22A792 #9222A7
tetradic
#A79222 #22A74F #2237A7 #A7227A
square
#A79222 #22A74F #2237A7 #A7227A
split-complementary
#A79222 #227AA7 #4F22A7
monochromatic
#41390D #746618 #A79222 #D5BB31 #DFCC64

Accessibility & contrast

On white

3.10
#A79222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#A79222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79222
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79222#FFFFFF#000000##000000
##A792221.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E05
Deuteranopia (green-blind)
#A7952A
Tritanopia (blue-blind)
#B5867D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a79222;
/* rgb */ color: rgb(167, 146, 34);
/* oklch */ color: oklch(66.0% 0.126 97.9);
Tailwind
colors: {
  custom: {
    50: '#c5b167',
    500: '#a79222',
    950: '#000000',
  },
}
SCSS
$custom: #a79222;
$custom-light: #c5b167;
$custom-dark: #000000;
JSON
{
  "hex": "#a79222",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 50.526,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65979,
    "c": 0.12591,
    "h": 97.9
  },
  "luminance": 0.28889
}

Semantic roles & 50–950 ramp

primary
#A79222
secondary
#6070C5
accent
#5AE93F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A79222

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

Preview Lab → · Contrast checker → · Palette generator →

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