#A79D21#A79D21

#A79D21 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.4% C 0.135 H 104.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#A79D21
RGBrgb(167, 157, 33)
HSLhsl(56, 67%, 39%)
HSVhsv(56, 80%, 65%)
CMYKcmyk(0%, 6%, 80.2%, 34.5%)
CIE-LABlab(63.71, -9.80, 60.43)
CIE-LCHlch(63.71, 61.22, 99.21°)
OKLaboklab(68.38% -0.034 0.131)
OKLCHoklch(68.38% 0.135 104.5)
XYZxyz(28.2691, 32.4404, 6.2111)
Luminance0.3244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79D21 #212BA7
analogous
#A75A21 #A79D21 #6EA721
triadic
#A79D21 #21A79D #9D21A7
tetradic
#A79D21 #21A75A #212BA7 #A7216E
square
#A79D21 #21A75A #212BA7 #A7216E
split-complementary
#A79D21 #216EA7 #5A21A7
monochromatic
#413D0D #746D17 #A79D21 #D6CA2F #E0D762

Accessibility & contrast

On white

2.80
#A79D21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#A79D21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79D21
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79D21#FFFFFF#000000##000000
##A79D211.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AF9D2B
Tritanopia (blue-blind)
#B49286
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a79d21;
/* rgb */ color: rgb(167, 157, 33);
/* oklch */ color: oklch(68.4% 0.135 104.5);
Tailwind
colors: {
  custom: {
    50: '#c5b968',
    500: '#a79d21',
    950: '#000000',
  },
}
SCSS
$custom: #a79d21;
$custom-light: #c5b968;
$custom-dark: #000000;
JSON
{
  "hex": "#a79d21",
  "rgb": {
    "r": 167,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 55.522,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68376,
    "c": 0.13533,
    "h": 104.5
  },
  "luminance": 0.32439
}

Semantic roles & 50–950 ramp

primary
#A79D21
secondary
#5F66C5
accent
#4BEA3E
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79D21

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

Preview Lab → · Contrast checker → · Palette generator →

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