#A79B22#A79B22

#A79B22 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.9% C 0.133 H 103.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#A79B22
RGBrgb(167, 155, 34)
HSLhsl(55, 66%, 39%)
HSVhsv(55, 80%, 65%)
CMYKcmyk(0%, 7.2%, 79.6%, 34.5%)
CIE-LABlab(63.16, -8.71, 59.64)
CIE-LCHlch(63.16, 60.27, 98.31°)
OKLaboklab(67.94% -0.0308 0.1295)
OKLCHoklch(67.94% 0.133 103.4)
XYZxyz(27.9477, 31.7749, 6.1741)
Luminance0.3177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79B22 #222EA7
analogous
#A75822 #A79B22 #71A722
triadic
#A79B22 #22A79B #9B22A7
tetradic
#A79B22 #22A758 #222EA7 #A72271
square
#A79B22 #22A758 #222EA7 #A72271
split-complementary
#A79B22 #2271A7 #5822A7
monochromatic
#413D0D #746C18 #A79B22 #D5C631 #DFD464

Accessibility & contrast

On white

2.86
#A79B22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#A79B22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79B22
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79B22#FFFFFF#000000##000000
##A79B221.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AD9B2C
Tritanopia (blue-blind)
#B49085
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a79b22;
/* rgb */ color: rgb(167, 155, 34);
/* oklch */ color: oklch(67.9% 0.133 103.4);
Tailwind
colors: {
  custom: {
    50: '#c5b868',
    500: '#a79b22',
    950: '#000000',
  },
}
SCSS
$custom: #a79b22;
$custom-light: #c5b868;
$custom-dark: #000000;
JSON
{
  "hex": "#a79b22",
  "rgb": {
    "r": 167,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 54.586,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67941,
    "c": 0.1331,
    "h": 103.4
  },
  "luminance": 0.31774
}

Semantic roles & 50–950 ramp

primary
#A79B22
secondary
#6069C5
accent
#4EE93F
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79B22

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

Preview Lab → · Contrast checker → · Palette generator →

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