#A79A22#A79A22

#A79A22 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.7% C 0.132 H 102.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A79A22
RGBrgb(167, 154, 34)
HSLhsl(54, 66%, 39%)
HSVhsv(54, 80%, 65%)
CMYKcmyk(0%, 7.8%, 79.6%, 34.5%)
CIE-LABlab(62.88, -8.17, 59.39)
CIE-LCHlch(62.88, 59.95, 97.84°)
OKLaboklab(67.72% -0.0293 0.129)
OKLCHoklch(67.72% 0.132 102.8)
XYZxyz(27.7820, 31.4434, 6.1189)
Luminance0.3144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79A22 #222FA7
analogous
#A75722 #A79A22 #72A722
triadic
#A79A22 #22A79A #9A22A7
tetradic
#A79A22 #22A757 #222FA7 #A72272
square
#A79A22 #22A757 #222FA7 #A72272
split-complementary
#A79A22 #2272A7 #5722A7
monochromatic
#413C0D #746B18 #A79A22 #D5C531 #DFD364

Accessibility & contrast

On white

2.88
#A79A22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#A79A22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79A22
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79A22#FFFFFF#000000##000000
##A79A221.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#AD9B2C
Tritanopia (blue-blind)
#B48F84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a79a22;
/* rgb */ color: rgb(167, 154, 34);
/* oklch */ color: oklch(67.7% 0.132 102.8);
Tailwind
colors: {
  custom: {
    50: '#c5b768',
    500: '#a79a22',
    950: '#000000',
  },
}
SCSS
$custom: #a79a22;
$custom-light: #c5b768;
$custom-dark: #000000;
JSON
{
  "hex": "#a79a22",
  "rgb": {
    "r": 167,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 54.135,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67722,
    "c": 0.13225,
    "h": 102.8
  },
  "luminance": 0.31442
}

Semantic roles & 50–950 ramp

primary
#A79A22
secondary
#606AC5
accent
#4FE93F
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79A22

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

Preview Lab → · Contrast checker → · Palette generator →

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