#A79742#A79742

#A79742 is a light, moderate yellow. Relative luminance 0.307; OKLCH L 67.3% C 0.107 H 98.7°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#A79742
RGBrgb(167, 151, 66)
HSLhsl(50, 43%, 46%)
HSVhsv(50, 60%, 65%)
CMYKcmyk(0%, 9.6%, 60.5%, 34.5%)
CIE-LABlab(62.29, -4.82, 45.93)
CIE-LCHlch(62.29, 46.18, 95.99°)
OKLaboklab(67.33% -0.0163 0.106)
OKLCHoklch(67.33% 0.107 98.7)
XYZxyz(27.9874, 30.7433, 9.6130)
Luminance0.3074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79742 #4252A7
analogous
#A76442 #A79742 #84A742
triadic
#A79742 #42A797 #9742A7
tetradic
#A79742 #42A764 #4252A7 #A74284
square
#A79742 #42A764 #4252A7 #A74284
split-complementary
#A79742 #4284A7 #6442A7
monochromatic
#4F481F #7B6F31 #A79742 #C2B364 #D3C990

Accessibility & contrast

On white

2.94
#A79742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#A79742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79742
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79742#FFFFFF#000000##000000
##A797421.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49339
Deuteranopia (green-blind)
#A99946
Tritanopia (blue-blind)
#B38D84
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a79742;
/* rgb */ color: rgb(167, 151, 66);
/* oklch */ color: oklch(67.3% 0.107 98.7);
Tailwind
colors: {
  custom: {
    50: '#c4b57a',
    500: '#a79742',
    950: '#000000',
  },
}
SCSS
$custom: #a79742;
$custom-light: #c4b57a;
$custom-dark: #000000;
JSON
{
  "hex": "#a79742",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 66
  },
  "hsl": {
    "h": 50.495,
    "s": 43.348,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67328,
    "c": 0.1072,
    "h": 98.7
  },
  "luminance": 0.30742
}

Semantic roles & 50–950 ramp

primary
#A79742
secondary
#868FBE
accent
#69D355
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #A79742

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

Preview Lab → · Contrast checker → · Palette generator →

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