#7B6828#7B6828

#7B6828 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.2% C 0.086 H 92.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7B6828
RGBrgb(123, 104, 40)
HSLhsl(46, 51%, 32%)
HSVhsv(46, 67%, 48%)
CMYKcmyk(0%, 15.4%, 67.5%, 51.8%)
CIE-LABlab(44.61, -0.36, 37.74)
CIE-LCHlch(44.61, 37.75, 90.55°)
OKLaboklab(52.24% -0.0039 0.0859)
OKLCHoklch(52.24% 0.086 92.6)
XYZxyz(13.5024, 14.2655, 4.0494)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6828 #283B7B
analogous
#7B3F28 #7B6828 #657B28
triadic
#7B6828 #287B68 #68287B
tetradic
#7B6828 #287B3F #283B7B #7B2865
square
#7B6828 #287B3F #283B7B #7B2865
split-complementary
#7B6828 #28657B #3F287B
monochromatic
#1F1A0A #4D4119 #7B6828 #A98F37 #C8AE56

Accessibility & contrast

On white

5.45
#7B6828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B6828
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6828#FFFFFF#000000##FFFFFF
##7B68281.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736621
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#85605A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b6828;
/* rgb */ color: rgb(123, 104, 40);
/* oklch */ color: oklch(52.2% 0.086 92.6);
Tailwind
colors: {
  custom: {
    50: '#a49265',
    500: '#7b6828',
    950: '#000000',
  },
}
SCSS
$custom: #7b6828;
$custom-light: #a49265;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6828",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 40
  },
  "hsl": {
    "h": 46.265,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52244,
    "c": 0.08599,
    "h": 92.6
  },
  "luminance": 0.14265
}

Semantic roles & 50–950 ramp

primary
#7B6828
secondary
#5267AD
accent
#6EDA4D
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#100D06
muted
#7F7D7A

Preview Lab

Preview with #7B6828

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

Preview Lab → · Contrast checker → · Palette generator →

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