#7A6716#7A6716

#7A6716 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.8% C 0.098 H 94.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7A6716
RGBrgb(122, 103, 22)
HSLhsl(49, 69%, 28%)
HSVhsv(49, 82%, 48%)
CMYKcmyk(0%, 15.6%, 82%, 52.2%)
CIE-LABlab(44.08, -1.23, 44.88)
CIE-LCHlch(44.08, 44.89, 91.56°)
OKLaboklab(51.76% -0.0084 0.0975)
OKLCHoklch(51.76% 0.098 94.9)
XYZxyz(13.0218, 13.8967, 2.7554)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6716 #16297A
analogous
#7A3516 #7A6716 #5B7A16
triadic
#7A6716 #167A67 #67167A
tetradic
#7A6716 #167A35 #16297A #7A165B
square
#7A6716 #167A35 #16297A #7A165B
split-complementary
#7A6716 #165B7A #35167A
monochromatic
#1A1605 #463B0D #7A6716 #AE931F #DABA31

Accessibility & contrast

On white

5.56
#7A6716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7A6716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6716
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6716#FFFFFF#000000##FFFFFF
##7A67161.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#845E58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a6716;
/* rgb */ color: rgb(122, 103, 22);
/* oklch */ color: oklch(51.8% 0.098 94.9);
Tailwind
colors: {
  custom: {
    50: '#a4925b',
    500: '#7a6716',
    950: '#000000',
  },
}
SCSS
$custom: #7a6716;
$custom-light: #a4925b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6716",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 48.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5176,
    "c": 0.09784,
    "h": 94.9
  },
  "luminance": 0.13896
}

Semantic roles & 50–950 ramp

primary
#7A6716
secondary
#3D52AF
accent
#5DEC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A6716

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

Preview Lab → · Contrast checker → · Palette generator →

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