#7A6721#7A6721

#7A6721 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.8% C 0.091 H 93.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7A6721
RGBrgb(122, 103, 33)
HSLhsl(47, 57%, 30%)
HSVhsv(47, 73%, 48%)
CMYKcmyk(0%, 15.6%, 73%, 52.2%)
CIE-LABlab(44.16, -0.69, 40.51)
CIE-LCHlch(44.16, 40.51, 90.98°)
OKLaboklab(51.84% -0.0056 0.0905)
OKLCHoklch(51.84% 0.091 93.6)
XYZxyz(13.1515, 13.9486, 3.4382)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6721 #21347A
analogous
#7A3A21 #7A6721 #607A21
triadic
#7A6721 #217A67 #67217A
tetradic
#7A6721 #217A3A #21347A #7A2160
square
#7A6721 #217A3A #21347A #7A2160
split-complementary
#7A6721 #21607A #3A217A
monochromatic
#1A1607 #4A3E14 #7A6721 #AA902E #CDB148

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A6721#FFFFFF#000000##FFFFFF
##7A67211.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)
#726517
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#845F59
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a6721;
/* rgb */ color: rgb(122, 103, 33);
/* oklch */ color: oklch(51.8% 0.091 93.6);
Tailwind
colors: {
  custom: {
    50: '#a49261',
    500: '#7a6721',
    950: '#000000',
  },
}
SCSS
$custom: #7a6721;
$custom-light: #a49261;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6721",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 33
  },
  "hsl": {
    "h": 47.191,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51843,
    "c": 0.0907,
    "h": 93.6
  },
  "luminance": 0.13948
}

Semantic roles & 50–950 ramp

primary
#7A6721
secondary
#4A5FAD
accent
#68E147
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7A6721

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

Preview Lab → · Contrast checker → · Palette generator →

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