#7B7516#7B7516

#7B7516 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.1% C 0.110 H 105.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7B7516
RGBrgb(123, 117, 22)
HSLhsl(56, 70%, 28%)
HSVhsv(56, 82%, 48%)
CMYKcmyk(0%, 4.9%, 82.1%, 51.8%)
CIE-LABlab(48.25, -8.70, 48.64)
CIE-LCHlch(48.25, 49.41, 100.15°)
OKLaboklab(55.09% -0.0295 0.1055)
OKLCHoklch(55.09% 0.11 105.6)
XYZxyz(14.6751, 16.9920, 3.2657)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7516 #161C7B
analogous
#7B4216 #7B7516 #4E7B16
triadic
#7B7516 #167B75 #75167B
tetradic
#7B7516 #167B42 #161C7B #7B164E
square
#7B7516 #167B42 #161C7B #7B164E
split-complementary
#7B7516 #164E7B #42167B
monochromatic
#1A1905 #47440D #7B7516 #AFA61F #DAD031

Accessibility & contrast

On white

4.77
#7B7516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7B7516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7516
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7516#FFFFFF#000000##FFFFFF
##7B75161.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#856C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b7516;
/* rgb */ color: rgb(123, 117, 22);
/* oklch */ color: oklch(55.1% 0.110 105.6);
Tailwind
colors: {
  custom: {
    50: '#a59c5d',
    500: '#7b7516',
    950: '#000000',
  },
}
SCSS
$custom: #7b7516;
$custom-light: #a59c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7516",
  "rgb": {
    "r": 123,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 56.436,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5509,
    "c": 0.10957,
    "h": 105.6
  },
  "luminance": 0.16991
}

Semantic roles & 50–950 ramp

primary
#7B7516
secondary
#3D44B0
accent
#46EC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7516

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

Preview Lab → · Contrast checker → · Palette generator →

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