#A79021#A79021

#A79021 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.5% C 0.125 H 96.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A79021
RGBrgb(167, 144, 33)
HSLhsl(50, 67%, 39%)
HSVhsv(50, 80%, 65%)
CMYKcmyk(0%, 13.8%, 80.2%, 34.5%)
CIE-LABlab(60.13, -2.82, 57.26)
CIE-LCHlch(60.13, 57.33, 92.82°)
OKLaboklab(65.54% -0.0143 0.1242)
OKLCHoklch(65.54% 0.125 96.6)
XYZxyz(26.1855, 28.2733, 5.5166)
Luminance0.2827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79021 #2138A7
analogous
#A74D21 #A79021 #7BA721
triadic
#A79021 #21A790 #9021A7
tetradic
#A79021 #21A74D #2138A7 #A7217B
square
#A79021 #21A74D #2138A7 #A7217B
split-complementary
#A79021 #217BA7 #4D21A7
monochromatic
#41380D #746417 #A79021 #D6B92F #E0CA62

Accessibility & contrast

On white

3.16
#A79021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#A79021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79021
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79021#FFFFFF#000000##000000
##A790211.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D04
Deuteranopia (green-blind)
#A59429
Tritanopia (blue-blind)
#B5847B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a79021;
/* rgb */ color: rgb(167, 144, 33);
/* oklch */ color: oklch(65.5% 0.125 96.6);
Tailwind
colors: {
  custom: {
    50: '#c5b067',
    500: '#a79021',
    950: '#000000',
  },
}
SCSS
$custom: #a79021;
$custom-light: #c5b067;
$custom-dark: #000000;
JSON
{
  "hex": "#a79021",
  "rgb": {
    "r": 167,
    "g": 144,
    "b": 33
  },
  "hsl": {
    "h": 49.701,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65542,
    "c": 0.12499,
    "h": 96.6
  },
  "luminance": 0.28272
}

Semantic roles & 50–950 ramp

primary
#A79021
secondary
#5F70C5
accent
#5BEA3E
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A79021

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

Preview Lab → · Contrast checker → · Palette generator →

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