#A79F21#A79F21

#A79F21 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.8% C 0.137 H 105.6°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#A79F21
RGBrgb(167, 159, 33)
HSLhsl(56, 67%, 39%)
HSVhsv(56, 80%, 65%)
CMYKcmyk(0%, 4.8%, 80.2%, 34.5%)
CIE-LABlab(64.26, -10.86, 60.92)
CIE-LCHlch(64.26, 61.88, 100.10°)
OKLaboklab(68.82% -0.0369 0.1321)
OKLCHoklch(68.82% 0.137 105.6)
XYZxyz(28.6103, 33.1227, 6.3248)
Luminance0.3312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79F21 #2129A7
analogous
#A75C21 #A79F21 #6CA721
triadic
#A79F21 #21A79F #9F21A7
tetradic
#A79F21 #21A75C #2129A7 #A7216C
square
#A79F21 #21A75C #2129A7 #A7216C
split-complementary
#A79F21 #216CA7 #5C21A7
monochromatic
#413E0D #746E17 #A79F21 #D6CC2F #E0D962

Accessibility & contrast

On white

2.75
#A79F21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#A79F21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79F21
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79F21#FFFFFF#000000##000000
##A79F211.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#B09E2C
Tritanopia (blue-blind)
#B49488
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a79f21;
/* rgb */ color: rgb(167, 159, 33);
/* oklch */ color: oklch(68.8% 0.137 105.6);
Tailwind
colors: {
  custom: {
    50: '#c5bb69',
    500: '#a79f21',
    950: '#000000',
  },
}
SCSS
$custom: #a79f21;
$custom-light: #c5bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#a79f21",
  "rgb": {
    "r": 167,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 56.418,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68818,
    "c": 0.13711,
    "h": 105.6
  },
  "luminance": 0.33122
}

Semantic roles & 50–950 ramp

primary
#A79F21
secondary
#5F65C5
accent
#48EA3E
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79F21

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

Preview Lab → · Contrast checker → · Palette generator →

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