#7B6816#7B6816

#7B6816 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.1% C 0.099 H 95.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7B6816
RGBrgb(123, 104, 22)
HSLhsl(49, 70%, 28%)
HSVhsv(49, 82%, 48%)
CMYKcmyk(0%, 15.4%, 82.1%, 51.8%)
CIE-LABlab(44.48, -1.32, 45.27)
CIE-LCHlch(44.48, 45.29, 91.68°)
OKLaboklab(52.09% -0.0088 0.0983)
OKLCHoklch(52.09% 0.099 95.1)
XYZxyz(13.2642, 14.1703, 2.7954)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6816 #16297B
analogous
#7B3516 #7B6816 #5B7B16
triadic
#7B6816 #167B68 #68167B
tetradic
#7B6816 #167B35 #16297B #7B165B
square
#7B6816 #167B35 #16297B #7B165B
split-complementary
#7B6816 #165B7B #35167B
monochromatic
#1A1605 #473C0D #7B6816 #AF941F #DABA31

Accessibility & contrast

On white

5.48
#7B6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7B6816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6816
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6816#FFFFFF#000000##FFFFFF
##7B68161.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#865F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b6816;
/* rgb */ color: rgb(123, 104, 22);
/* oklch */ color: oklch(52.1% 0.099 95.1);
Tailwind
colors: {
  custom: {
    50: '#a5925b',
    500: '#7b6816',
    950: '#000000',
  },
}
SCSS
$custom: #7b6816;
$custom-light: #a5925b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6816",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 48.713,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52094,
    "c": 0.09866,
    "h": 95.1
  },
  "luminance": 0.1417
}

Semantic roles & 50–950 ramp

primary
#7B6816
secondary
#3D52B0
accent
#5DEC3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7B6816

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

Preview Lab → · Contrast checker → · Palette generator →

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