#7A7516#7A7516

#7A7516 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.0% C 0.110 H 106.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7A7516
RGBrgb(122, 117, 22)
HSLhsl(57, 69%, 28%)
HSVhsv(57, 82%, 48%)
CMYKcmyk(0%, 4.1%, 82%, 52.2%)
CIE-LABlab(48.16, -9.17, 48.52)
CIE-LCHlch(48.16, 49.38, 100.71°)
OKLaboklab(54.99% -0.0308 0.1053)
OKLCHoklch(54.99% 0.11 106.3)
XYZxyz(14.5328, 16.9186, 3.2590)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7516 #161B7A
analogous
#7A4316 #7A7516 #4D7A16
triadic
#7A7516 #167A75 #75167A
tetradic
#7A7516 #167A43 #161B7A #7A164D
square
#7A7516 #167A43 #161B7A #7A164D
split-complementary
#7A7516 #164D7A #43167A
monochromatic
#1A1905 #46430D #7A7516 #AEA71F #DAD131

Accessibility & contrast

On white

4.79
#7A7516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7A7516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7516
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7516#FFFFFF#000000##FFFFFF
##7A75161.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#846D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a7516;
/* rgb */ color: rgb(122, 117, 22);
/* oklch */ color: oklch(55.0% 0.110 106.3);
Tailwind
colors: {
  custom: {
    50: '#a49c5d',
    500: '#7a7516',
    950: '#000000',
  },
}
SCSS
$custom: #7a7516;
$custom-light: #a49c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7516",
  "rgb": {
    "r": 122,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 57,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54994,
    "c": 0.10971,
    "h": 106.3
  },
  "luminance": 0.16918
}

Semantic roles & 50–950 ramp

primary
#7A7516
secondary
#3D42AF
accent
#44EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7516

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

Preview Lab → · Contrast checker → · Palette generator →

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