#A79926#A79926

#A79926 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.5% C 0.129 H 102.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A79926
RGBrgb(167, 153, 38)
HSLhsl(53, 63%, 40%)
HSVhsv(53, 77%, 65%)
CMYKcmyk(0%, 8.4%, 77.2%, 34.5%)
CIE-LABlab(62.62, -7.49, 57.85)
CIE-LCHlch(62.62, 58.34, 97.37°)
OKLaboklab(67.53% -0.027 0.1265)
OKLCHoklch(67.53% 0.129 102.1)
XYZxyz(27.6787, 31.1391, 6.3859)
Luminance0.3114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79926 #2634A7
analogous
#A75826 #A79926 #75A726
triadic
#A79926 #26A799 #9926A7
tetradic
#A79926 #26A758 #2634A7 #A72675
square
#A79926 #26A758 #2634A7 #A72675
split-complementary
#A79926 #2675A7 #5826A7
monochromatic
#433E0F #756B1B #A79926 #D2C138 #DDD16A

Accessibility & contrast

On white

2.91
#A79926 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#A79926 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79926
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79926#FFFFFF#000000##000000
##A799261.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940C
Deuteranopia (green-blind)
#AC9A2F
Tritanopia (blue-blind)
#B48E83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a79926;
/* rgb */ color: rgb(167, 153, 38);
/* oklch */ color: oklch(67.5% 0.129 102.1);
Tailwind
colors: {
  custom: {
    50: '#c5b66a',
    500: '#a79926',
    950: '#000000',
  },
}
SCSS
$custom: #a79926;
$custom-light: #c5b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#a79926",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 53.488,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67525,
    "c": 0.12931,
    "h": 102.1
  },
  "luminance": 0.31138
}

Semantic roles & 50–950 ramp

primary
#A79926
secondary
#6570C3
accent
#54E642
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A79926

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

Preview Lab → · Contrast checker → · Palette generator →

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