#A79642#A79642

#A79642 is a light, moderate yellow. Relative luminance 0.304; OKLCH L 67.1% C 0.106 H 98.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A79642
RGBrgb(167, 150, 66)
HSLhsl(50, 43%, 46%)
HSVhsv(50, 60%, 65%)
CMYKcmyk(0%, 10.2%, 60.5%, 34.5%)
CIE-LABlab(62.02, -4.27, 45.62)
CIE-LCHlch(62.02, 45.82, 95.35°)
OKLaboklab(67.11% -0.0147 0.1053)
OKLCHoklch(67.11% 0.106 98)
XYZxyz(27.8272, 30.4228, 9.5596)
Luminance0.3042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79642 #4253A7
analogous
#A76342 #A79642 #85A742
triadic
#A79642 #42A796 #9642A7
tetradic
#A79642 #42A763 #4253A7 #A74285
square
#A79642 #42A763 #4253A7 #A74285
split-complementary
#A79642 #4285A7 #6342A7
monochromatic
#4F471F #7B6F31 #A79642 #C2B264 #D3C890

Accessibility & contrast

On white

2.96
#A79642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#A79642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79642
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79642#FFFFFF#000000##000000
##A796421.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39239
Deuteranopia (green-blind)
#A89846
Tritanopia (blue-blind)
#B38C84
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a79642;
/* rgb */ color: rgb(167, 150, 66);
/* oklch */ color: oklch(67.1% 0.106 98.0);
Tailwind
colors: {
  custom: {
    50: '#c4b47a',
    500: '#a79642',
    950: '#000000',
  },
}
SCSS
$custom: #a79642;
$custom-light: #c4b47a;
$custom-dark: #000000;
JSON
{
  "hex": "#a79642",
  "rgb": {
    "r": 167,
    "g": 150,
    "b": 66
  },
  "hsl": {
    "h": 49.901,
    "s": 43.348,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67112,
    "c": 0.10634,
    "h": 98
  },
  "luminance": 0.30422
}

Semantic roles & 50–950 ramp

primary
#A79642
secondary
#8690BE
accent
#6AD355
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #A79642

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

Preview Lab → · Contrast checker → · Palette generator →

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