#7B7416#7B7416

#7B7416 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.109 H 104.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7B7416
RGBrgb(123, 116, 22)
HSLhsl(56, 70%, 28%)
HSVhsv(56, 82%, 48%)
CMYKcmyk(0%, 5.7%, 82.1%, 51.8%)
CIE-LABlab(47.96, -8.15, 48.38)
CIE-LCHlch(47.96, 49.06, 99.56°)
OKLaboklab(54.86% -0.028 0.105)
OKLCHoklch(54.86% 0.109 104.9)
XYZxyz(14.5592, 16.7603, 3.2270)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7416 #161D7B
analogous
#7B4116 #7B7416 #4F7B16
triadic
#7B7416 #167B74 #74167B
tetradic
#7B7416 #167B41 #161D7B #7B164F
square
#7B7416 #167B41 #161D7B #7B164F
split-complementary
#7B7416 #164F7B #41167B
monochromatic
#1A1805 #47430D #7B7416 #AFA51F #DACE31

Accessibility & contrast

On white

4.83
#7B7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7B7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7416
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7416#FFFFFF#000000##FFFFFF
##7B74161.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#81741E
Tritanopia (blue-blind)
#856B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b7416;
/* rgb */ color: rgb(123, 116, 22);
/* oklch */ color: oklch(54.9% 0.109 104.9);
Tailwind
colors: {
  custom: {
    50: '#a59b5d',
    500: '#7b7416',
    950: '#000000',
  },
}
SCSS
$custom: #7b7416;
$custom-light: #a59b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7416",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 55.842,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54856,
    "c": 0.10862,
    "h": 104.9
  },
  "luminance": 0.1676
}

Semantic roles & 50–950 ramp

primary
#7B7416
secondary
#3D45B0
accent
#48EC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7416

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

Preview Lab → · Contrast checker → · Palette generator →

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