#7B6820#7B6820

#7B6820 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.2% C 0.092 H 93.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7B6820
RGBrgb(123, 104, 32)
HSLhsl(47, 59%, 30%)
HSVhsv(47, 74%, 48%)
CMYKcmyk(0%, 15.4%, 74%, 51.8%)
CIE-LABlab(44.54, -0.85, 41.37)
CIE-LCHlch(44.54, 41.38, 91.18°)
OKLaboklab(52.17% -0.0063 0.0921)
OKLCHoklch(52.17% 0.092 93.9)
XYZxyz(13.3801, 14.2166, 3.4055)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6820 #20337B
analogous
#7B3B20 #7B6820 #607B20
triadic
#7B6820 #207B68 #68207B
tetradic
#7B6820 #207B3B #20337B #7B2060
square
#7B6820 #207B3B #20337B #7B2060
split-complementary
#7B6820 #20607B #3B207B
monochromatic
#1A1607 #4A3F13 #7B6820 #AC912D #CFB246

Accessibility & contrast

On white

5.46
#7B6820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7B6820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6820
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6820#FFFFFF#000000##FFFFFF
##7B68201.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736616
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#855F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b6820;
/* rgb */ color: rgb(123, 104, 32);
/* oklch */ color: oklch(52.2% 0.092 93.9);
Tailwind
colors: {
  custom: {
    50: '#a49260',
    500: '#7b6820',
    950: '#000000',
  },
}
SCSS
$custom: #7b6820;
$custom-light: #a49260;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6820",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 47.473,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52167,
    "c": 0.09233,
    "h": 93.9
  },
  "luminance": 0.14216
}

Semantic roles & 50–950 ramp

primary
#7B6820
secondary
#495EAE
accent
#66E246
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7B6820

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

Preview Lab → · Contrast checker → · Palette generator →

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