#7A6216#7A6216

#7A6216 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.6% C 0.095 H 90.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7A6216
RGBrgb(122, 98, 22)
HSLhsl(46, 69%, 28%)
HSVhsv(46, 82%, 48%)
CMYKcmyk(0%, 19.7%, 82%, 52.2%)
CIE-LABlab(42.66, 1.69, 43.59)
CIE-LCHlch(42.66, 43.62, 87.78°)
OKLaboklab(50.64% -0.0001 0.0947)
OKLCHoklch(50.64% 0.095 90.1)
XYZxyz(12.5393, 12.9317, 2.5945)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6216 #162E7A
analogous
#7A3016 #7A6216 #607A16
triadic
#7A6216 #167A62 #62167A
tetradic
#7A6216 #167A30 #162E7A #7A1660
square
#7A6216 #167A30 #162E7A #7A1660
split-complementary
#7A6216 #16607A #30167A
monochromatic
#1A1505 #46380D #7A6216 #AE8C1F #DAB131

Accessibility & contrast

On white

5.86
#7A6216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7A6216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6216
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6216#FFFFFF#000000##FFFFFF
##7A62161.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6106
Deuteranopia (green-blind)
#74681B
Tritanopia (blue-blind)
#855954
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a6216;
/* rgb */ color: rgb(122, 98, 22);
/* oklch */ color: oklch(50.6% 0.095 90.1);
Tailwind
colors: {
  custom: {
    50: '#a48e5a',
    500: '#7a6216',
    950: '#000000',
  },
}
SCSS
$custom: #7a6216;
$custom-light: #a48e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6216",
  "rgb": {
    "r": 122,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 45.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50635,
    "c": 0.0947,
    "h": 90.1
  },
  "luminance": 0.12931
}

Semantic roles & 50–950 ramp

primary
#7A6216
secondary
#3D58AF
accent
#66EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A6216

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

Preview Lab → · Contrast checker → · Palette generator →

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