#7A6916#7A6916

#7A6916 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.2% C 0.099 H 96.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7A6916
RGBrgb(122, 105, 22)
HSLhsl(50, 69%, 28%)
HSVhsv(50, 82%, 48%)
CMYKcmyk(0%, 13.9%, 82%, 52.2%)
CIE-LABlab(44.66, -2.38, 45.39)
CIE-LCHlch(44.66, 45.46, 93.00°)
OKLaboklab(52.22% -0.0117 0.0986)
OKLCHoklch(52.22% 0.099 96.8)
XYZxyz(13.2231, 14.2994, 2.8225)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6916 #16277A
analogous
#7A3716 #7A6916 #597A16
triadic
#7A6916 #167A69 #69167A
tetradic
#7A6916 #167A37 #16277A #7A1659
square
#7A6916 #167A37 #16277A #7A1659
split-complementary
#7A6916 #16597A #37167A
monochromatic
#1A1605 #463C0D #7A6916 #AE961F #DABD31

Accessibility & contrast

On white

5.44
#7A6916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7A6916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6916
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6916#FFFFFF#000000##FFFFFF
##7A69161.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756603
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#846059
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a6916;
/* rgb */ color: rgb(122, 105, 22);
/* oklch */ color: oklch(52.2% 0.099 96.8);
Tailwind
colors: {
  custom: {
    50: '#a4935b',
    500: '#7a6916',
    950: '#000000',
  },
}
SCSS
$custom: #7a6916;
$custom-light: #a4935b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6916",
  "rgb": {
    "r": 122,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 49.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52215,
    "c": 0.09928,
    "h": 96.8
  },
  "luminance": 0.14299
}

Semantic roles & 50–950 ramp

primary
#7A6916
secondary
#3D50AF
accent
#5AEC3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A6916

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

Preview Lab → · Contrast checker → · Palette generator →

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