#A79421#A79421

#A79421 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.4% C 0.128 H 99.2°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A79421
RGBrgb(167, 148, 33)
HSLhsl(51, 67%, 39%)
HSVhsv(51, 80%, 65%)
CMYKcmyk(0%, 11.4%, 80.2%, 34.5%)
CIE-LABlab(61.23, -4.99, 58.23)
CIE-LCHlch(61.23, 58.45, 94.90°)
OKLaboklab(66.41% -0.0204 0.1263)
OKLCHoklch(66.41% 0.128 99.2)
XYZxyz(26.8021, 29.5065, 5.7221)
Luminance0.2950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79421 #2134A7
analogous
#A75121 #A79421 #77A721
triadic
#A79421 #21A794 #9421A7
tetradic
#A79421 #21A751 #2134A7 #A72177
square
#A79421 #21A751 #2134A7 #A72177
split-complementary
#A79421 #2177A7 #5121A7
monochromatic
#41390D #746717 #A79421 #D6BE2F #E0CE62

Accessibility & contrast

On white

3.04
#A79421 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#A79421 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79421
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79421#FFFFFF#000000##000000
##A794211.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39001
Deuteranopia (green-blind)
#A8972A
Tritanopia (blue-blind)
#B5887F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a79421;
/* rgb */ color: rgb(167, 148, 33);
/* oklch */ color: oklch(66.4% 0.128 99.2);
Tailwind
colors: {
  custom: {
    50: '#c5b367',
    500: '#a79421',
    950: '#000000',
  },
}
SCSS
$custom: #a79421;
$custom-light: #c5b367;
$custom-dark: #000000;
JSON
{
  "hex": "#a79421",
  "rgb": {
    "r": 167,
    "g": 148,
    "b": 33
  },
  "hsl": {
    "h": 51.493,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66407,
    "c": 0.12792,
    "h": 99.2
  },
  "luminance": 0.29505
}

Semantic roles & 50–950 ramp

primary
#A79421
secondary
#5F6DC5
accent
#56EA3E
background
#FCFAF6
surface
#F9F5EB
border
#D2CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A79421

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

Preview Lab → · Contrast checker → · Palette generator →

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