#7B6D2E#7B6D2E

#7B6D2E is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.4% C 0.085 H 96.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7B6D2E
RGBrgb(123, 109, 46)
HSLhsl(49, 46%, 33%)
HSVhsv(49, 63%, 48%)
CMYKcmyk(0%, 11.4%, 62.6%, 51.8%)
CIE-LABlab(46.10, -2.81, 36.42)
CIE-LCHlch(46.10, 36.52, 94.42°)
OKLaboklab(53.44% -0.0101 0.084)
OKLCHoklch(53.44% 0.085 96.9)
XYZxyz(14.1307, 15.3461, 4.8020)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6D2E #2E3C7B
analogous
#7B462E #7B6D2E #627B2E
triadic
#7B6D2E #2E7B6D #6D2E7B
tetradic
#7B6D2E #2E7B46 #2E3C7B #7B2E62
square
#7B6D2E #2E7B46 #2E3C7B #7B2E62
split-complementary
#7B6D2E #2E627B #462E7B
monochromatic
#221E0D #4E461D #7B6D2E #A8943F #C3B160

Accessibility & contrast

On white

5.16
#7B6D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7B6D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6D2E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6D2E#FFFFFF#000000##FFFFFF
##7B6D2E1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B27
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#84655F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b6d2e;
/* rgb */ color: rgb(123, 109, 46);
/* oklch */ color: oklch(53.4% 0.085 96.9);
Tailwind
colors: {
  custom: {
    50: '#a39669',
    500: '#7b6d2e',
    950: '#000000',
  },
}
SCSS
$custom: #7b6d2e;
$custom-light: #a39669;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6d2e",
  "rgb": {
    "r": 123,
    "g": 109,
    "b": 46
  },
  "hsl": {
    "h": 49.091,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53444,
    "c": 0.08461,
    "h": 96.9
  },
  "luminance": 0.15345
}

Semantic roles & 50–950 ramp

primary
#7B6D2E
secondary
#5B69AA
accent
#6AD553
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7B6D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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