#A79946#A79946

#A79946 is a light, moderate yellow. Relative luminance 0.314; OKLCH L 67.8% C 0.105 H 99.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A79946
RGBrgb(167, 153, 70)
HSLhsl(51, 41%, 46%)
HSVhsv(51, 58%, 65%)
CMYKcmyk(0%, 8.4%, 58.1%, 34.5%)
CIE-LABlab(62.88, -5.59, 44.68)
CIE-LCHlch(62.88, 45.03, 97.13°)
OKLaboklab(67.81% -0.018 0.1038)
OKLCHoklch(67.81% 0.105 99.8)
XYZxyz(28.4341, 31.4413, 10.3642)
Luminance0.3144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79946 #4654A7
analogous
#A76946 #A79946 #85A746
triadic
#A79946 #46A799 #9946A7
tetradic
#A79946 #46A769 #4654A7 #A74685
square
#A79946 #46A769 #4654A7 #A74685
split-complementary
#A79946 #4685A7 #6946A7
monochromatic
#514A22 #7C7134 #A79946 #C0B46A #D3CA95

Accessibility & contrast

On white

2.88
#A79946 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#A79946 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79946
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79946#FFFFFF#000000##000000
##A799461.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6953E
Deuteranopia (green-blind)
#AA9A4A
Tritanopia (blue-blind)
#B38F87
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a79946;
/* rgb */ color: rgb(167, 153, 70);
/* oklch */ color: oklch(67.8% 0.105 99.8);
Tailwind
colors: {
  custom: {
    50: '#c3b67c',
    500: '#a79946',
    950: '#000000',
  },
}
SCSS
$custom: #a79946;
$custom-light: #c3b67c;
$custom-dark: #000000;
JSON
{
  "hex": "#a79946",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 70
  },
  "hsl": {
    "h": 51.34,
    "s": 40.928,
    "l": 46.471
  },
  "oklch": {
    "l": 0.67808,
    "c": 0.10535,
    "h": 99.8
  },
  "luminance": 0.3144
}

Semantic roles & 50–950 ramp

primary
#A79946
secondary
#8A92BE
accent
#69D157
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #A79946

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

Preview Lab → · Contrast checker → · Palette generator →

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