#A79826#A79826

#A79826 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.3% C 0.128 H 101.5°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A79826
RGBrgb(167, 152, 38)
HSLhsl(53, 63%, 40%)
HSVhsv(53, 77%, 65%)
CMYKcmyk(0%, 9%, 77.2%, 34.5%)
CIE-LABlab(62.35, -6.95, 57.60)
CIE-LCHlch(62.35, 58.02, 96.88°)
OKLaboklab(67.31% -0.0255 0.1259)
OKLCHoklch(67.31% 0.128 101.5)
XYZxyz(27.5157, 30.8132, 6.3315)
Luminance0.3081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79826 #2635A7
analogous
#A75726 #A79826 #76A726
triadic
#A79826 #26A798 #9826A7
tetradic
#A79826 #26A757 #2635A7 #A72676
square
#A79826 #26A757 #2635A7 #A72676
split-complementary
#A79826 #2676A7 #5726A7
monochromatic
#433D0F #756B1B #A79826 #D2C038 #DDD06A

Accessibility & contrast

On white

2.93
#A79826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#A79826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79826
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79826#FFFFFF#000000##000000
##A798261.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7930C
Deuteranopia (green-blind)
#AB992E
Tritanopia (blue-blind)
#B48D82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a79826;
/* rgb */ color: rgb(167, 152, 38);
/* oklch */ color: oklch(67.3% 0.128 101.5);
Tailwind
colors: {
  custom: {
    50: '#c5b66a',
    500: '#a79826',
    950: '#000000',
  },
}
SCSS
$custom: #a79826;
$custom-light: #c5b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#a79826",
  "rgb": {
    "r": 167,
    "g": 152,
    "b": 38
  },
  "hsl": {
    "h": 53.023,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67307,
    "c": 0.12848,
    "h": 101.5
  },
  "luminance": 0.30812
}

Semantic roles & 50–950 ramp

primary
#A79826
secondary
#6570C3
accent
#55E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79826

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

Preview Lab → · Contrast checker → · Palette generator →

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