#A79740#A79740

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

Color values

HEX#A79740
RGBrgb(167, 151, 64)
HSLhsl(51, 45%, 45%)
HSVhsv(51, 62%, 65%)
CMYKcmyk(0%, 9.6%, 61.7%, 34.5%)
CIE-LABlab(62.27, -4.96, 46.85)
CIE-LCHlch(62.27, 47.11, 96.04°)
OKLaboklab(67.31% -0.0169 0.1077)
OKLCHoklch(67.31% 0.109 98.9)
XYZxyz(27.9295, 30.7201, 9.3079)
Luminance0.3072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79740 #4050A7
analogous
#A76440 #A79740 #83A740
triadic
#A79740 #40A797 #9740A7
tetradic
#A79740 #40A764 #4050A7 #A74083
square
#A79740 #40A764 #4050A7 #A74083
split-complementary
#A79740 #4083A7 #6440A7
monochromatic
#4F471E #7B6F2F #A79740 #C3B462 #D4C98E

Accessibility & contrast

On white

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

On black

7.14
#A79740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79740
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79740#FFFFFF#000000##000000
##A797401.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59337
Deuteranopia (green-blind)
#A99944
Tritanopia (blue-blind)
#B38D84
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a79740;
/* rgb */ color: rgb(167, 151, 64);
/* oklch */ color: oklch(67.3% 0.109 98.9);
Tailwind
colors: {
  custom: {
    50: '#c4b578',
    500: '#a79740',
    950: '#000000',
  },
}
SCSS
$custom: #a79740;
$custom-light: #c4b578;
$custom-dark: #000000;
JSON
{
  "hex": "#a79740",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 64
  },
  "hsl": {
    "h": 50.68,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.67306,
    "c": 0.10897,
    "h": 98.9
  },
  "luminance": 0.30719
}

Semantic roles & 50–950 ramp

primary
#A79740
secondary
#848DBF
accent
#68D454
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #A79740

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

Preview Lab → · Contrast checker → · Palette generator →

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