#A79122#A79122

#A79122 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.8% C 0.125 H 97.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A79122
RGBrgb(167, 145, 34)
HSLhsl(50, 66%, 39%)
HSVhsv(50, 80%, 65%)
CMYKcmyk(0%, 13.2%, 79.6%, 34.5%)
CIE-LABlab(60.41, -3.33, 57.18)
CIE-LCHlch(60.41, 57.28, 93.33°)
OKLaboklab(65.76% -0.0157 0.1242)
OKLCHoklch(65.76% 0.125 97.2)
XYZxyz(26.3519, 28.5832, 5.6422)
Luminance0.2858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79122 #2238A7
analogous
#A74F22 #A79122 #7BA722
triadic
#A79122 #22A791 #9122A7
tetradic
#A79122 #22A74F #2238A7 #A7227B
square
#A79122 #22A74F #2238A7 #A7227B
split-complementary
#A79122 #227BA7 #4F22A7
monochromatic
#41390D #746518 #A79122 #D5BA31 #DFCB64

Accessibility & contrast

On white

3.13
#A79122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A79122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79122
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79122#FFFFFF#000000##000000
##A791221.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E06
Deuteranopia (green-blind)
#A6952A
Tritanopia (blue-blind)
#B5857C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a79122;
/* rgb */ color: rgb(167, 145, 34);
/* oklch */ color: oklch(65.8% 0.125 97.2);
Tailwind
colors: {
  custom: {
    50: '#c5b067',
    500: '#a79122',
    950: '#000000',
  },
}
SCSS
$custom: #a79122;
$custom-light: #c5b067;
$custom-dark: #000000;
JSON
{
  "hex": "#a79122",
  "rgb": {
    "r": 167,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 50.075,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65763,
    "c": 0.12519,
    "h": 97.2
  },
  "luminance": 0.28582
}

Semantic roles & 50–950 ramp

primary
#A79122
secondary
#6071C5
accent
#5BE93F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A79122

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

Preview Lab → · Contrast checker → · Palette generator →

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