#A79342#A79342

#A79342 is a light, moderate yellow. Relative luminance 0.295; OKLCH L 66.5% C 0.104 H 95.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A79342
RGBrgb(167, 147, 66)
HSLhsl(48, 43%, 46%)
HSVhsv(48, 60%, 65%)
CMYKcmyk(0%, 12%, 60.5%, 34.5%)
CIE-LABlab(61.20, -2.65, 44.70)
CIE-LCHlch(61.20, 44.78, 93.39°)
OKLaboklab(66.47% -0.01 0.1034)
OKLCHoklch(66.47% 0.104 95.5)
XYZxyz(27.3546, 29.4776, 9.4021)
Luminance0.2948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79342 #4256A7
analogous
#A76042 #A79342 #88A742
triadic
#A79342 #42A793 #9342A7
tetradic
#A79342 #42A760 #4256A7 #A74288
square
#A79342 #42A760 #4256A7 #A74288
split-complementary
#A79342 #4288A7 #6042A7
monochromatic
#4F461F #7B6C31 #A79342 #C2AF64 #D3C690

Accessibility & contrast

On white

3.05
#A79342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#A79342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79342
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79342#FFFFFF#000000##000000
##A793421.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1903A
Deuteranopia (green-blind)
#A69646
Tritanopia (blue-blind)
#B38981
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a79342;
/* rgb */ color: rgb(167, 147, 66);
/* oklch */ color: oklch(66.5% 0.104 95.5);
Tailwind
colors: {
  custom: {
    50: '#c4b279',
    500: '#a79342',
    950: '#000000',
  },
}
SCSS
$custom: #a79342;
$custom-light: #c4b279;
$custom-dark: #000000;
JSON
{
  "hex": "#a79342",
  "rgb": {
    "r": 167,
    "g": 147,
    "b": 66
  },
  "hsl": {
    "h": 48.119,
    "s": 43.348,
    "l": 45.686
  },
  "oklch": {
    "l": 0.66466,
    "c": 0.10384,
    "h": 95.5
  },
  "luminance": 0.29476
}

Semantic roles & 50–950 ramp

primary
#A79342
secondary
#8691BE
accent
#6ED355
background
#FCFAF7
surface
#F8F5EE
border
#D1CFC9
text
#131009
muted
#827F7B

Preview Lab

Preview with #A79342

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

Preview Lab → · Contrast checker → · Palette generator →

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