#7A7716#7A7716

#7A7716 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.5% C 0.112 H 107.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7A7716
RGBrgb(122, 119, 22)
HSLhsl(58, 69%, 28%)
HSVhsv(58, 82%, 48%)
CMYKcmyk(0%, 2.5%, 82%, 52.2%)
CIE-LABlab(48.75, -10.28, 49.04)
CIE-LCHlch(48.75, 50.11, 101.84°)
OKLaboklab(55.47% -0.0339 0.1064)
OKLCHoklch(55.47% 0.112 107.7)
XYZxyz(14.7683, 17.3897, 3.3375)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7716 #16197A
analogous
#7A4516 #7A7716 #4B7A16
triadic
#7A7716 #167A77 #77167A
tetradic
#7A7716 #167A45 #16197A #7A164B
square
#7A7716 #167A45 #16197A #7A164B
split-complementary
#7A7716 #164B7A #45167A
monochromatic
#1A1905 #46440D #7A7716 #AEAA1F #DAD531

Accessibility & contrast

On white

4.69
#7A7716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7A7716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7716
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7716#FFFFFF#000000##FFFFFF
##7A77161.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#836F65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a7716;
/* rgb */ color: rgb(122, 119, 22);
/* oklch */ color: oklch(55.5% 0.112 107.7);
Tailwind
colors: {
  custom: {
    50: '#a49e5d',
    500: '#7a7716',
    950: '#000000',
  },
}
SCSS
$custom: #7a7716;
$custom-light: #a49e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7716",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 58.2,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55465,
    "c": 0.1117,
    "h": 107.7
  },
  "luminance": 0.17389
}

Semantic roles & 50–950 ramp

primary
#7A7716
secondary
#3D40AF
accent
#41EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7716

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

Preview Lab → · Contrast checker → · Palette generator →

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