#7B6823#7B6823

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

Color values

HEX#7B6823
RGBrgb(123, 104, 35)
HSLhsl(47, 56%, 31%)
HSVhsv(47, 72%, 48%)
CMYKcmyk(0%, 15.4%, 71.5%, 51.8%)
CIE-LABlab(44.57, -0.68, 40.05)
CIE-LCHlch(44.57, 40.06, 90.98°)
OKLaboklab(52.19% -0.0054 0.0899)
OKLCHoklch(52.19% 0.09 93.5)
XYZxyz(13.4227, 14.2337, 3.6302)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6823 #23367B
analogous
#7B3C23 #7B6823 #627B23
triadic
#7B6823 #237B68 #68237B
tetradic
#7B6823 #237B3C #23367B #7B2362
square
#7B6823 #237B3C #23367B #7B2362
split-complementary
#7B6823 #23627B #3C237B
monochromatic
#1C1708 #4B4015 #7B6823 #AB9031 #CCB14C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B6823#FFFFFF#000000##FFFFFF
##7B68231.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)
#73661A
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#85605A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b6823;
/* rgb */ color: rgb(123, 104, 35);
/* oklch */ color: oklch(52.2% 0.090 93.5);
Tailwind
colors: {
  custom: {
    50: '#a49262',
    500: '#7b6823',
    950: '#000000',
  },
}
SCSS
$custom: #7b6823;
$custom-light: #a49262;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6823",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 35
  },
  "hsl": {
    "h": 47.045,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52194,
    "c": 0.09007,
    "h": 93.5
  },
  "luminance": 0.14233
}

Semantic roles & 50–950 ramp

primary
#7B6823
secondary
#4C61AE
accent
#69DF49
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#100D05
muted
#7F7D7A

Preview Lab

Preview with #7B6823

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

Preview Lab → · Contrast checker → · Palette generator →

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