#7A7916#7A7916

#7A7916 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 55.9% C 0.114 H 109.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7A7916
RGBrgb(122, 121, 22)
HSLhsl(59, 69%, 28%)
HSVhsv(59, 82%, 48%)
CMYKcmyk(0%, 0.8%, 82%, 52.2%)
CIE-LABlab(49.34, -11.38, 49.56)
CIE-LCHlch(49.34, 50.85, 102.93°)
OKLaboklab(55.94% -0.0369 0.1076)
OKLCHoklch(55.94% 0.114 109)
XYZxyz(15.0088, 17.8707, 3.4177)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7916 #16177A
analogous
#7A4716 #7A7916 #497A16
triadic
#7A7916 #167A79 #79167A
tetradic
#7A7916 #167A47 #16177A #7A1649
square
#7A7916 #167A47 #16177A #7A1649
split-complementary
#7A7916 #16497A #47167A
monochromatic
#1A1A05 #46460D #7A7916 #AEAC1F #DAD831

Accessibility & contrast

On white

4.59
#7A7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7A7916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7916
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7916#FFFFFF#000000##FFFFFF
##7A79161.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#85771F
Tritanopia (blue-blind)
#837167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a7916;
/* rgb */ color: rgb(122, 121, 22);
/* oklch */ color: oklch(55.9% 0.114 109.0);
Tailwind
colors: {
  custom: {
    50: '#a49f5e',
    500: '#7a7916',
    950: '#000000',
  },
}
SCSS
$custom: #7a7916;
$custom-light: #a49f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7916",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 59.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.11372,
    "h": 109
  },
  "luminance": 0.1787
}

Semantic roles & 50–950 ramp

primary
#7A7916
secondary
#3D3EAF
accent
#3DEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7916

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

Preview Lab → · Contrast checker → · Palette generator →

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