#A79942#A79942

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

Color values

HEX#A79942
RGBrgb(167, 153, 66)
HSLhsl(52, 43%, 46%)
HSVhsv(52, 60%, 65%)
CMYKcmyk(0%, 8.4%, 60.5%, 34.5%)
CIE-LABlab(62.84, -5.89, 46.54)
CIE-LCHlch(62.84, 46.91, 97.22°)
OKLaboklab(67.76% -0.0194 0.1073)
OKLCHoklch(67.76% 0.109 100.2)
XYZxyz(28.3120, 31.3925, 9.7212)
Luminance0.3139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79942 #4250A7
analogous
#A76642 #A79942 #82A742
triadic
#A79942 #42A799 #9942A7
tetradic
#A79942 #42A766 #4250A7 #A74282
square
#A79942 #42A766 #4250A7 #A74282
split-complementary
#A79942 #4282A7 #6642A7
monochromatic
#4F491F #7B7131 #A79942 #C2B564 #D3CA90

Accessibility & contrast

On white

2.89
#A79942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#A79942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79942
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79942#FFFFFF#000000##000000
##A799421.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69539
Deuteranopia (green-blind)
#AA9A46
Tritanopia (blue-blind)
#B38F86
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a79942;
/* rgb */ color: rgb(167, 153, 66);
/* oklch */ color: oklch(67.8% 0.109 100.2);
Tailwind
colors: {
  custom: {
    50: '#c4b67a',
    500: '#a79942',
    950: '#000000',
  },
}
SCSS
$custom: #a79942;
$custom-light: #c4b67a;
$custom-dark: #000000;
JSON
{
  "hex": "#a79942",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 66
  },
  "hsl": {
    "h": 51.683,
    "s": 43.348,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67762,
    "c": 0.109,
    "h": 100.2
  },
  "luminance": 0.31391
}

Semantic roles & 50–950 ramp

primary
#A79942
secondary
#868EBE
accent
#66D355
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #A79942

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

Preview Lab → · Contrast checker → · Palette generator →

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