#7A6722#7A6722

#7A6722 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.9% C 0.090 H 93.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7A6722
RGBrgb(122, 103, 34)
HSLhsl(47, 56%, 31%)
HSVhsv(47, 72%, 48%)
CMYKcmyk(0%, 15.6%, 72.1%, 52.2%)
CIE-LABlab(44.17, -0.64, 40.07)
CIE-LCHlch(44.17, 40.07, 90.91°)
OKLaboklab(51.85% -0.0054 0.0898)
OKLCHoklch(51.85% 0.09 93.4)
XYZxyz(13.1657, 13.9543, 3.5130)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6722 #22357A
analogous
#7A3B22 #7A6722 #617A22
triadic
#7A6722 #227A67 #67227A
tetradic
#7A6722 #227A3B #22357A #7A2261
square
#7A6722 #227A3B #22357A #7A2261
split-complementary
#7A6722 #22617A #3B227A
monochromatic
#1A1607 #4A3F15 #7A6722 #AA8F2F #CDB04A

Accessibility & contrast

On white

5.54
#7A6722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7A6722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6722
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6722#FFFFFF#000000##FFFFFF
##7A67221.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726519
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#845F59
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a6722;
/* rgb */ color: rgb(122, 103, 34);
/* oklch */ color: oklch(51.9% 0.090 93.4);
Tailwind
colors: {
  custom: {
    50: '#a39261',
    500: '#7a6722',
    950: '#000000',
  },
}
SCSS
$custom: #7a6722;
$custom-light: #a39261;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6722",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 47.045,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.08994,
    "h": 93.4
  },
  "luminance": 0.13954
}

Semantic roles & 50–950 ramp

primary
#7A6722
secondary
#4B60AD
accent
#69E048
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7A6722

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

Preview Lab → · Contrast checker → · Palette generator →

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