#A7974B#A7974B

#A7974B is a light, moderate yellow. Relative luminance 0.309; OKLCH L 67.4% C 0.099 H 97.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A7974B
RGBrgb(167, 151, 75)
HSLhsl(50, 38%, 47%)
HSVhsv(50, 55%, 65%)
CMYKcmyk(0%, 9.6%, 55.1%, 34.5%)
CIE-LABlab(62.39, -4.10, 41.66)
CIE-LCHlch(62.39, 41.86, 95.62°)
OKLaboklab(67.44% -0.0131 0.0978)
OKLCHoklch(67.44% 0.099 97.7)
XYZxyz(28.2740, 30.8579, 11.1221)
Luminance0.3086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7974B #4B5BA7
analogous
#A7694B #A7974B #89A74B
triadic
#A7974B #4BA797 #974BA7
tetradic
#A7974B #4BA769 #4B5BA7 #A74B89
square
#A7974B #4BA769 #4B5BA7 #A74B89
split-complementary
#A7974B #4B89A7 #694BA7
monochromatic
#534B25 #7D7138 #A7974B #BFB170 #D2C89B

Accessibility & contrast

On white

2.93
#A7974B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#A7974B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7974B
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7974B#FFFFFF#000000##000000
##A7974B1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49444
Deuteranopia (green-blind)
#A8994E
Tritanopia (blue-blind)
#B38D86
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a7974b;
/* rgb */ color: rgb(167, 151, 75);
/* oklch */ color: oklch(67.4% 0.099 97.7);
Tailwind
colors: {
  custom: {
    50: '#c3b57f',
    500: '#a7974b',
    950: '#000000',
  },
}
SCSS
$custom: #a7974b;
$custom-light: #c3b57f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7974b",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 75
  },
  "hsl": {
    "h": 49.565,
    "s": 38.017,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67437,
    "c": 0.09872,
    "h": 97.7
  },
  "luminance": 0.30857
}

Semantic roles & 50–950 ramp

primary
#A7974B
secondary
#8F98BE
accent
#6ECE5A
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #A7974B

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

Preview Lab → · Contrast checker → · Palette generator →

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