#A79526#A79526

#A79526 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.7% C 0.126 H 99.6°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A79526
RGBrgb(167, 149, 38)
HSLhsl(52, 63%, 40%)
HSVhsv(52, 77%, 65%)
CMYKcmyk(0%, 10.8%, 77.2%, 34.5%)
CIE-LABlab(61.53, -5.34, 56.84)
CIE-LCHlch(61.53, 57.09, 95.37°)
OKLaboklab(66.65% -0.021 0.1243)
OKLCHoklch(66.65% 0.126 99.6)
XYZxyz(27.0350, 29.8517, 6.1713)
Luminance0.2985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79526 #2638A7
analogous
#A75426 #A79526 #78A726
triadic
#A79526 #26A795 #9526A7
tetradic
#A79526 #26A754 #2638A7 #A72678
square
#A79526 #26A754 #2638A7 #A72678
split-complementary
#A79526 #2678A7 #5426A7
monochromatic
#433C0F #75691B #A79526 #D2BC38 #DDCD6A

Accessibility & contrast

On white

3.01
#A79526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#A79526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79526
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79526#FFFFFF#000000##000000
##A795261.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910E
Deuteranopia (green-blind)
#A9972E
Tritanopia (blue-blind)
#B48A80
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a79526;
/* rgb */ color: rgb(167, 149, 38);
/* oklch */ color: oklch(66.7% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#c5b36a',
    500: '#a79526',
    950: '#000000',
  },
}
SCSS
$custom: #a79526;
$custom-light: #c5b36a;
$custom-dark: #000000;
JSON
{
  "hex": "#a79526",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 51.628,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66653,
    "c": 0.12605,
    "h": 99.6
  },
  "luminance": 0.2985
}

Semantic roles & 50–950 ramp

primary
#A79526
secondary
#6573C3
accent
#59E642
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79526

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

Preview Lab → · Contrast checker → · Palette generator →

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