#7B6F40#7B6F40

#7B6F40 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.067 H 95.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7B6F40
RGBrgb(123, 111, 64)
HSLhsl(48, 32%, 37%)
HSVhsv(48, 48%, 48%)
CMYKcmyk(0%, 9.8%, 48%, 51.8%)
CIE-LABlab(46.91, -2.30, 27.78)
CIE-LCHlch(46.91, 27.87, 94.73°)
OKLaboklab(54.16% -0.0064 0.067)
OKLCHoklch(54.16% 0.067 95.5)
XYZxyz(14.7786, 15.9506, 7.1498)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6F40 #404C7B
analogous
#7B5240 #7B6F40 #6A7B40
triadic
#7B6F40 #407B6F #6F407B
tetradic
#7B6F40 #407B52 #404C7B #7B406A
square
#7B6F40 #407B52 #404C7B #7B406A
split-complementary
#7B6F40 #406A7B #52407B
monochromatic
#2A2616 #534B2B #7B6F40 #A39355 #BAAD7B

Accessibility & contrast

On white

5.01
#7B6F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7B6F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6F40
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6F40#FFFFFF#000000##FFFFFF
##7B6F401.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#7B7142
Tritanopia (blue-blind)
#836964
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b6f40;
/* rgb */ color: rgb(123, 111, 64);
/* oklch */ color: oklch(54.2% 0.067 95.5);
Tailwind
colors: {
  custom: {
    50: '#a29876',
    500: '#7b6f40',
    950: '#000000',
  },
}
SCSS
$custom: #7b6f40;
$custom-light: #a29876;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6f40",
  "rgb": {
    "r": 123,
    "g": 111,
    "b": 64
  },
  "hsl": {
    "h": 47.797,
    "s": 31.551,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.06731,
    "h": 95.5
  },
  "luminance": 0.1595
}

Semantic roles & 50–950 ramp

primary
#7B6F40
secondary
#727CA5
accent
#75C860
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0D08
muted
#7F7E7B

Preview Lab

Preview with #7B6F40

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

Preview Lab → · Contrast checker → · Palette generator →

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