#7B6827#7B6827

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

Color values

HEX#7B6827
RGBrgb(123, 104, 39)
HSLhsl(46, 52%, 32%)
HSVhsv(46, 68%, 48%)
CMYKcmyk(0%, 15.4%, 68.3%, 51.8%)
CIE-LABlab(44.60, -0.43, 38.22)
CIE-LCHlch(44.60, 38.22, 90.65°)
OKLaboklab(52.23% -0.0042 0.0867)
OKLCHoklch(52.23% 0.087 92.8)
XYZxyz(13.4856, 14.2588, 3.9610)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6827 #273A7B
analogous
#7B3E27 #7B6827 #647B27
triadic
#7B6827 #277B68 #68277B
tetradic
#7B6827 #277B3E #273A7B #7B2764
square
#7B6827 #277B3E #273A7B #7B2764
split-complementary
#7B6827 #27647B #3E277B
monochromatic
#1E190A #4D4118 #7B6827 #A98F36 #C9AE54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7b6827;
/* rgb */ color: rgb(123, 104, 39);
/* oklch */ color: oklch(52.2% 0.087 92.8);
Tailwind
colors: {
  custom: {
    50: '#a49264',
    500: '#7b6827',
    950: '#000000',
  },
}
SCSS
$custom: #7b6827;
$custom-light: #a49264;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6827",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 39
  },
  "hsl": {
    "h": 46.429,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52234,
    "c": 0.08684,
    "h": 92.8
  },
  "luminance": 0.14258
}

Semantic roles & 50–950 ramp

primary
#7B6827
secondary
#5166AD
accent
#6DDB4C
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#100D06
muted
#7F7D7A

Preview Lab

Preview with #7B6827

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

Preview Lab → · Contrast checker → · Palette generator →

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