#7B6516#7B6516

#7B6516 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.4% C 0.097 H 92.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7B6516
RGBrgb(123, 101, 22)
HSLhsl(47, 70%, 28%)
HSVhsv(47, 82%, 48%)
CMYKcmyk(0%, 17.9%, 82.1%, 51.8%)
CIE-LABlab(43.62, 0.42, 44.50)
CIE-LCHlch(43.62, 44.50, 89.46°)
OKLaboklab(51.42% -0.0038 0.0966)
OKLCHoklch(51.42% 0.097 92.3)
XYZxyz(12.9676, 13.5770, 2.6965)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6516 #162C7B
analogous
#7B3216 #7B6516 #5E7B16
triadic
#7B6516 #167B65 #65167B
tetradic
#7B6516 #167B32 #162C7B #7B165E
square
#7B6516 #167B32 #162C7B #7B165E
split-complementary
#7B6516 #165E7B #32167B
monochromatic
#1A1505 #473A0D #7B6516 #AF901F #DAB531

Accessibility & contrast

On white

5.65
#7B6516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7B6516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6516
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6516#FFFFFF#000000##FFFFFF
##7B65161.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#776A1B
Tritanopia (blue-blind)
#865C56
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b6516;
/* rgb */ color: rgb(123, 101, 22);
/* oklch */ color: oklch(51.4% 0.097 92.3);
Tailwind
colors: {
  custom: {
    50: '#a5905b',
    500: '#7b6516',
    950: '#000000',
  },
}
SCSS
$custom: #7b6516;
$custom-light: #a5905b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6516",
  "rgb": {
    "r": 123,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 46.931,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51418,
    "c": 0.09669,
    "h": 92.3
  },
  "luminance": 0.13576
}

Semantic roles & 50–950 ramp

primary
#7B6516
secondary
#3D56B0
accent
#62EC3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6516

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

Preview Lab → · Contrast checker → · Palette generator →

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