#7C704A#7C704A

#7C704A is a mid, muted yellow. Relative luminance 0.164; OKLCH L 54.7% C 0.056 H 92.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7C704A
RGBrgb(124, 112, 74)
HSLhsl(46, 25%, 39%)
HSVhsv(46, 40%, 49%)
CMYKcmyk(0%, 9.7%, 40.3%, 51.4%)
CIE-LABlab(47.45, -1.27, 22.84)
CIE-LCHlch(47.45, 22.87, 93.17°)
OKLaboklab(54.66% -0.0026 0.0563)
OKLCHoklch(54.66% 0.056 92.6)
XYZxyz(15.3427, 16.3684, 8.8285)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C704A #4A567C
analogous
#7C574A #7C704A #6F7C4A
triadic
#7C704A #4A7C70 #704A7C
tetradic
#7C704A #4A7C57 #4A567C #7C4A6F
square
#7C704A #4A7C57 #4A567C #7C4A6F
split-complementary
#7C704A #4A6F7C #574A7C
monochromatic
#2F2B1C #564D33 #7C704A #A19262 #B8AD88

Accessibility & contrast

On white

4.91
#7C704A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7C704A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C704A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C704A#FFFFFF#000000##FFFFFF
##7C704A1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E47
Deuteranopia (green-blind)
#7B724B
Tritanopia (blue-blind)
#836A66
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c704a;
/* rgb */ color: rgb(124, 112, 74);
/* oklch */ color: oklch(54.7% 0.056 92.6);
Tailwind
colors: {
  custom: {
    50: '#a3997d',
    500: '#7c704a',
    950: '#000000',
  },
}
SCSS
$custom: #7c704a;
$custom-light: #a3997d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c704a",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 74
  },
  "hsl": {
    "h": 45.6,
    "s": 25.253,
    "l": 38.824
  },
  "oklch": {
    "l": 0.54661,
    "c": 0.05636,
    "h": 92.6
  },
  "luminance": 0.16368
}

Semantic roles & 50–950 ramp

primary
#7C704A
secondary
#7D87A4
accent
#7CC266
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0D09
muted
#7F7E7B

Preview Lab

Preview with #7C704A

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

Preview Lab → · Contrast checker → · Palette generator →

#7C704A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva