#7A7616#7A7616

#7A7616 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.2% C 0.111 H 107.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7A7616
RGBrgb(122, 118, 22)
HSLhsl(58, 69%, 28%)
HSVhsv(58, 82%, 48%)
CMYKcmyk(0%, 3.3%, 82%, 52.2%)
CIE-LABlab(48.45, -9.73, 48.78)
CIE-LCHlch(48.45, 49.74, 101.28°)
OKLaboklab(55.23% -0.0323 0.1059)
OKLCHoklch(55.23% 0.111 107)
XYZxyz(14.6499, 17.1529, 3.2981)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7616 #161A7A
analogous
#7A4416 #7A7616 #4C7A16
triadic
#7A7616 #167A76 #76167A
tetradic
#7A7616 #167A44 #161A7A #7A164C
square
#7A7616 #167A44 #161A7A #7A164C
split-complementary
#7A7616 #164C7A #44167A
monochromatic
#1A1905 #46440D #7A7616 #AEA81F #DAD331

Accessibility & contrast

On white

4.74
#7A7616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7A7616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7616
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7616#FFFFFF#000000##FFFFFF
##7A76161.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#846E64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a7616;
/* rgb */ color: rgb(122, 118, 22);
/* oklch */ color: oklch(55.2% 0.111 107.0);
Tailwind
colors: {
  custom: {
    50: '#a49d5d',
    500: '#7a7616',
    950: '#000000',
  },
}
SCSS
$custom: #7a7616;
$custom-light: #a49d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7616",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 57.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55229,
    "c": 0.1107,
    "h": 107
  },
  "luminance": 0.17152
}

Semantic roles & 50–950 ramp

primary
#7A7616
secondary
#3D41AF
accent
#43EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7616

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

Preview Lab → · Contrast checker → · Palette generator →

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