#7A7416#7A7416

#7A7416 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.8% C 0.109 H 105.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7A7416
RGBrgb(122, 116, 22)
HSLhsl(56, 69%, 28%)
HSVhsv(56, 82%, 48%)
CMYKcmyk(0%, 4.9%, 82%, 52.2%)
CIE-LABlab(47.86, -8.62, 48.26)
CIE-LCHlch(47.86, 49.02, 100.12°)
OKLaboklab(54.76% -0.0292 0.1047)
OKLCHoklch(54.76% 0.109 105.6)
XYZxyz(14.4169, 16.6868, 3.2204)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7416 #161C7A
analogous
#7A4216 #7A7416 #4E7A16
triadic
#7A7416 #167A74 #74167A
tetradic
#7A7416 #167A42 #161C7A #7A164E
square
#7A7416 #167A42 #161C7A #7A164E
split-complementary
#7A7416 #164E7A #42167A
monochromatic
#1A1905 #46430D #7A7416 #AEA51F #DAD031

Accessibility & contrast

On white

4.84
#7A7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7A7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7416
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7416#FFFFFF#000000##FFFFFF
##7A74161.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#846B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a7416;
/* rgb */ color: rgb(122, 116, 22);
/* oklch */ color: oklch(54.8% 0.109 105.6);
Tailwind
colors: {
  custom: {
    50: '#a49b5d',
    500: '#7a7416',
    950: '#000000',
  },
}
SCSS
$custom: #7a7416;
$custom-light: #a49b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7416",
  "rgb": {
    "r": 122,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 56.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54759,
    "c": 0.10875,
    "h": 105.6
  },
  "luminance": 0.16686
}

Semantic roles & 50–950 ramp

primary
#7A7416
secondary
#3D43AF
accent
#46EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7416

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

Preview Lab → · Contrast checker → · Palette generator →

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