#7A6B16#7A6B16

#7A6B16 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.7% C 0.101 H 98.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7A6B16
RGBrgb(122, 107, 22)
HSLhsl(51, 69%, 28%)
HSVhsv(51, 82%, 48%)
CMYKcmyk(0%, 12.3%, 82%, 52.2%)
CIE-LABlab(45.24, -3.53, 45.91)
CIE-LCHlch(45.24, 46.05, 94.40°)
OKLaboklab(52.67% -0.015 0.0997)
OKLCHoklch(52.67% 0.101 98.5)
XYZxyz(13.4292, 14.7116, 2.8912)
Luminance0.1471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6B16 #16257A
analogous
#7A3916 #7A6B16 #577A16
triadic
#7A6B16 #167A6B #6B167A
tetradic
#7A6B16 #167A39 #16257A #7A1657
square
#7A6B16 #167A39 #16257A #7A1657
split-complementary
#7A6B16 #16577A #39167A
monochromatic
#1A1705 #463E0D #7A6B16 #AE981F #DAC031

Accessibility & contrast

On white

5.33
#7A6B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7A6B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6B16
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6B16#FFFFFF#000000##FFFFFF
##7A6B161.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766802
Deuteranopia (green-blind)
#7A6D1C
Tritanopia (blue-blind)
#84625B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a6b16;
/* rgb */ color: rgb(122, 107, 22);
/* oklch */ color: oklch(52.7% 0.101 98.5);
Tailwind
colors: {
  custom: {
    50: '#a4955c',
    500: '#7a6b16',
    950: '#000000',
  },
}
SCSS
$custom: #7a6b16;
$custom-light: #a4955c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6b16",
  "rgb": {
    "r": 122,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 51,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.10083,
    "h": 98.5
  },
  "luminance": 0.14711
}

Semantic roles & 50–950 ramp

primary
#7A6B16
secondary
#3D4EAF
accent
#56EC3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A6B16

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

Preview Lab → · Contrast checker → · Palette generator →

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