#7B6826#7B6826

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

Color values

HEX#7B6826
RGBrgb(123, 104, 38)
HSLhsl(47, 53%, 32%)
HSVhsv(47, 69%, 48%)
CMYKcmyk(0%, 15.4%, 69.1%, 51.8%)
CIE-LABlab(44.59, -0.50, 38.68)
CIE-LCHlch(44.59, 38.69, 90.74°)
OKLaboklab(52.22% -0.0045 0.0876)
OKLCHoklch(52.22% 0.088 92.9)
XYZxyz(13.4692, 14.2523, 3.8749)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6826 #26397B
analogous
#7B3E26 #7B6826 #647B26
triadic
#7B6826 #267B68 #68267B
tetradic
#7B6826 #267B3E #26397B #7B2664
square
#7B6826 #267B3E #26397B #7B2664
split-complementary
#7B6826 #26647B #3E267B
monochromatic
#1D1909 #4C4018 #7B6826 #AA9034 #CAAF52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7b6826;
/* rgb */ color: rgb(123, 104, 38);
/* oklch */ color: oklch(52.2% 0.088 92.9);
Tailwind
colors: {
  custom: {
    50: '#a49264',
    500: '#7b6826',
    950: '#000000',
  },
}
SCSS
$custom: #7b6826;
$custom-light: #a49264;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6826",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 38
  },
  "hsl": {
    "h": 46.588,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52223,
    "c": 0.08768,
    "h": 92.9
  },
  "luminance": 0.14252
}

Semantic roles & 50–950 ramp

primary
#7B6826
secondary
#5065AD
accent
#6CDC4C
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#100D05
muted
#7F7D7A

Preview Lab

Preview with #7B6826

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

Preview Lab → · Contrast checker → · Palette generator →

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