#A79B21#A79B21

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

Color values

HEX#A79B21
RGBrgb(167, 155, 33)
HSLhsl(55, 67%, 39%)
HSVhsv(55, 80%, 65%)
CMYKcmyk(0%, 7.2%, 80.2%, 34.5%)
CIE-LABlab(63.15, -8.74, 59.94)
CIE-LCHlch(63.15, 60.58, 98.30°)
OKLaboklab(67.94% -0.031 0.1299)
OKLCHoklch(67.94% 0.134 103.4)
XYZxyz(27.9335, 31.7692, 6.0992)
Luminance0.3177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79B21 #212DA7
analogous
#A75821 #A79B21 #70A721
triadic
#A79B21 #21A79B #9B21A7
tetradic
#A79B21 #21A758 #212DA7 #A72170
square
#A79B21 #21A758 #212DA7 #A72170
split-complementary
#A79B21 #2170A7 #5821A7
monochromatic
#413C0D #746C17 #A79B21 #D6C72F #E0D562

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A79B21#FFFFFF#000000##000000
##A79B211.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)
#AE9B2B
Tritanopia (blue-blind)
#B49085
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a79b21;
/* rgb */ color: rgb(167, 155, 33);
/* oklch */ color: oklch(67.9% 0.134 103.4);
Tailwind
colors: {
  custom: {
    50: '#c5b868',
    500: '#a79b21',
    950: '#000000',
  },
}
SCSS
$custom: #a79b21;
$custom-light: #c5b868;
$custom-dark: #000000;
JSON
{
  "hex": "#a79b21",
  "rgb": {
    "r": 167,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 54.627,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67936,
    "c": 0.13358,
    "h": 103.4
  },
  "luminance": 0.31768
}

Semantic roles & 50–950 ramp

primary
#A79B21
secondary
#5F68C5
accent
#4DEA3E
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79B21

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

Preview Lab → · Contrast checker → · Palette generator →

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