#7B704F#7B704F

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

Color values

HEX#7B704F
RGBrgb(123, 112, 79)
HSLhsl(45, 22%, 40%)
HSVhsv(45, 36%, 48%)
CMYKcmyk(0%, 8.9%, 35.8%, 51.8%)
CIE-LABlab(47.45, -1.06, 19.93)
CIE-LCHlch(47.45, 19.96, 93.04°)
OKLaboklab(54.66% -0.0016 0.0497)
OKLCHoklch(54.66% 0.05 91.8)
XYZxyz(15.3741, 16.3643, 9.7444)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B704F #4F5A7B
analogous
#7B5A4F #7B704F #707B4F
triadic
#7B704F #4F7B70 #704F7B
tetradic
#7B704F #4F7B5A #4F5A7B #7B4F70
square
#7B704F #4F7B5A #4F5A7B #7B4F70
split-complementary
#7B704F #4F707B #5A4F7B
monochromatic
#302C1F #564E37 #7B704F #9E9169 #B6AC8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B704F#FFFFFF#000000##FFFFFF
##7B704F1.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)
#776F4D
Deuteranopia (green-blind)
#7A7250
Tritanopia (blue-blind)
#826B67
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b704f;
/* rgb */ color: rgb(123, 112, 79);
/* oklch */ color: oklch(54.7% 0.050 91.8);
Tailwind
colors: {
  custom: {
    50: '#a29980',
    500: '#7b704f',
    950: '#000000',
  },
}
SCSS
$custom: #7b704f;
$custom-light: #a29980;
$custom-dark: #000000;
JSON
{
  "hex": "#7b704f",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 79
  },
  "hsl": {
    "h": 45,
    "s": 21.782,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54664,
    "c": 0.04972,
    "h": 91.8
  },
  "luminance": 0.16364
}

Semantic roles & 50–950 ramp

primary
#7B704F
secondary
#828BA3
accent
#7FBE69
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0D0A
muted
#7F7E7C

Preview Lab

Preview with #7B704F

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

Preview Lab → · Contrast checker → · Palette generator →

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