#7A7316#7A7316

#7A7316 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.5% C 0.108 H 104.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7A7316
RGBrgb(122, 115, 22)
HSLhsl(56, 69%, 28%)
HSVhsv(56, 82%, 48%)
CMYKcmyk(0%, 5.7%, 82%, 52.2%)
CIE-LABlab(47.57, -8.06, 48.00)
CIE-LCHlch(47.57, 48.67, 99.53°)
OKLaboklab(54.53% -0.0277 0.1042)
OKLCHoklch(54.53% 0.108 104.9)
XYZxyz(14.3022, 16.4575, 3.1822)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7316 #161D7A
analogous
#7A4116 #7A7316 #4F7A16
triadic
#7A7316 #167A73 #73167A
tetradic
#7A7316 #167A41 #161D7A #7A164F
square
#7A7316 #167A41 #161D7A #7A164F
split-complementary
#7A7316 #164F7A #41167A
monochromatic
#1A1805 #46420D #7A7316 #AEA41F #DACE31

Accessibility & contrast

On white

4.89
#7A7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7A7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7316
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7316#FFFFFF#000000##FFFFFF
##7A73161.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#80731E
Tritanopia (blue-blind)
#846A62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a7316;
/* rgb */ color: rgb(122, 115, 22);
/* oklch */ color: oklch(54.5% 0.108 104.9);
Tailwind
colors: {
  custom: {
    50: '#a49b5d',
    500: '#7a7316',
    950: '#000000',
  },
}
SCSS
$custom: #7a7316;
$custom-light: #a49b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7316",
  "rgb": {
    "r": 122,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 55.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54525,
    "c": 0.1078,
    "h": 104.9
  },
  "luminance": 0.16457
}

Semantic roles & 50–950 ramp

primary
#7A7316
secondary
#3D45AF
accent
#48EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7316

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

Preview Lab → · Contrast checker → · Palette generator →

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