#7A6D16#7A6D16

#7A6D16 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.1% C 0.102 H 100.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7A6D16
RGBrgb(122, 109, 22)
HSLhsl(52, 69%, 28%)
HSVhsv(52, 82%, 48%)
CMYKcmyk(0%, 10.7%, 82%, 52.2%)
CIE-LABlab(45.82, -4.67, 46.43)
CIE-LCHlch(45.82, 46.67, 95.75°)
OKLaboklab(53.13% -0.0182 0.1008)
OKLCHoklch(53.13% 0.102 100.2)
XYZxyz(13.6402, 15.1334, 2.9615)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6D16 #16237A
analogous
#7A3B16 #7A6D16 #557A16
triadic
#7A6D16 #167A6D #6D167A
tetradic
#7A6D16 #167A3B #16237A #7A1655
square
#7A6D16 #167A3B #16237A #7A1655
split-complementary
#7A6D16 #16557A #3B167A
monochromatic
#1A1705 #463F0D #7A6D16 #AE9B1F #DAC431

Accessibility & contrast

On white

5.22
#7A6D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7A6D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6D16
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6D16#FFFFFF#000000##FFFFFF
##7A6D161.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A01
Deuteranopia (green-blind)
#7C6F1D
Tritanopia (blue-blind)
#84645D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a6d16;
/* rgb */ color: rgb(122, 109, 22);
/* oklch */ color: oklch(53.1% 0.102 100.2);
Tailwind
colors: {
  custom: {
    50: '#a4965c',
    500: '#7a6d16',
    950: '#000000',
  },
}
SCSS
$custom: #7a6d16;
$custom-light: #a4965c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6d16",
  "rgb": {
    "r": 122,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 52.2,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53132,
    "c": 0.10245,
    "h": 100.2
  },
  "luminance": 0.15133
}

Semantic roles & 50–950 ramp

primary
#7A6D16
secondary
#3D4BAF
accent
#53EC3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A6D16

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

Preview Lab → · Contrast checker → · Palette generator →

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