#7B6822#7B6822

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

Color values

HEX#7B6822
RGBrgb(123, 104, 34)
HSLhsl(47, 57%, 31%)
HSVhsv(47, 72%, 48%)
CMYKcmyk(0%, 15.4%, 72.4%, 51.8%)
CIE-LABlab(44.56, -0.74, 40.50)
CIE-LCHlch(44.56, 40.51, 91.05°)
OKLaboklab(52.19% -0.0057 0.0907)
OKLCHoklch(52.19% 0.091 93.6)
XYZxyz(13.4081, 14.2278, 3.5531)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6822 #22357B
analogous
#7B3B22 #7B6822 #617B22
triadic
#7B6822 #227B68 #68227B
tetradic
#7B6822 #227B3B #22357B #7B2261
square
#7B6822 #227B3B #22357B #7B2261
split-complementary
#7B6822 #22617B #3B227B
monochromatic
#1B1707 #4B3F15 #7B6822 #AB912F #CDB14A

Accessibility & contrast

On white

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

On black

3.85
#7B6822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B6822#FFFFFF#000000##FFFFFF
##7B68221.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736618
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#855F5A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b6822;
/* rgb */ color: rgb(123, 104, 34);
/* oklch */ color: oklch(52.2% 0.091 93.6);
Tailwind
colors: {
  custom: {
    50: '#a49261',
    500: '#7b6822',
    950: '#000000',
  },
}
SCSS
$custom: #7b6822;
$custom-light: #a49261;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6822",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 34
  },
  "hsl": {
    "h": 47.191,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52185,
    "c": 0.09084,
    "h": 93.6
  },
  "luminance": 0.14227
}

Semantic roles & 50–950 ramp

primary
#7B6822
secondary
#4B60AE
accent
#68E048
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7B6822

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

Preview Lab → · Contrast checker → · Palette generator →

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