#7A6C16#7A6C16

#7A6C16 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.9% C 0.102 H 99.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7A6C16
RGBrgb(122, 108, 22)
HSLhsl(52, 69%, 28%)
HSVhsv(52, 82%, 48%)
CMYKcmyk(0%, 11.5%, 82%, 52.2%)
CIE-LABlab(45.53, -4.10, 46.17)
CIE-LCHlch(45.53, 46.36, 95.08°)
OKLaboklab(52.9% -0.0166 0.1003)
OKLCHoklch(52.9% 0.102 99.4)
XYZxyz(13.5341, 14.9213, 2.9261)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6C16 #16247A
analogous
#7A3A16 #7A6C16 #567A16
triadic
#7A6C16 #167A6C #6C167A
tetradic
#7A6C16 #167A3A #16247A #7A1656
square
#7A6C16 #167A3A #16247A #7A1656
split-complementary
#7A6C16 #16567A #3A167A
monochromatic
#1A1705 #463E0D #7A6C16 #AE9A1F #DAC231

Accessibility & contrast

On white

5.27
#7A6C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7A6C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6C16
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6C16#FFFFFF#000000##FFFFFF
##7A6C161.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776902
Deuteranopia (green-blind)
#7B6E1C
Tritanopia (blue-blind)
#84635C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a6c16;
/* rgb */ color: rgb(122, 108, 22);
/* oklch */ color: oklch(52.9% 0.102 99.4);
Tailwind
colors: {
  custom: {
    50: '#a4955c',
    500: '#7a6c16',
    950: '#000000',
  },
}
SCSS
$custom: #7a6c16;
$custom-light: #a4955c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6c16",
  "rgb": {
    "r": 122,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 51.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52902,
    "c": 0.10163,
    "h": 99.4
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

primary
#7A6C16
secondary
#3D4DAF
accent
#54EC3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A6C16

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

Preview Lab → · Contrast checker → · Palette generator →

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