#7B7716#7B7716

#7B7716 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.112 H 107.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7B7716
RGBrgb(123, 119, 22)
HSLhsl(58, 70%, 28%)
HSVhsv(58, 82%, 48%)
CMYKcmyk(0%, 3.3%, 82.1%, 51.8%)
CIE-LABlab(48.84, -9.81, 49.16)
CIE-LCHlch(48.84, 50.13, 101.29°)
OKLaboklab(55.56% -0.0326 0.1066)
OKLCHoklch(55.56% 0.112 107)
XYZxyz(14.9106, 17.4631, 3.3442)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7716 #161A7B
analogous
#7B4416 #7B7716 #4C7B16
triadic
#7B7716 #167B77 #77167B
tetradic
#7B7716 #167B44 #161A7B #7B164C
square
#7B7716 #167B44 #161A7B #7B164C
split-complementary
#7B7716 #164C7B #44167B
monochromatic
#1A1905 #47450D #7B7716 #AFA91F #DAD331

Accessibility & contrast

On white

4.67
#7B7716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7B7716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7716
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7716#FFFFFF#000000##FFFFFF
##7B77161.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#856E65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b7716;
/* rgb */ color: rgb(123, 119, 22);
/* oklch */ color: oklch(55.6% 0.112 107.0);
Tailwind
colors: {
  custom: {
    50: '#a59d5d',
    500: '#7b7716',
    950: '#000000',
  },
}
SCSS
$custom: #7b7716;
$custom-light: #a59d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7716",
  "rgb": {
    "r": 123,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 57.624,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55559,
    "c": 0.11151,
    "h": 107
  },
  "luminance": 0.17463
}

Semantic roles & 50–950 ramp

primary
#7B7716
secondary
#3D41B0
accent
#42EC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7716

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

Preview Lab → · Contrast checker → · Palette generator →

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