#7A7720#7A7720

#7A7720 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.5% C 0.106 H 107.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7A7720
RGBrgb(122, 119, 32)
HSLhsl(58, 58%, 30%)
HSVhsv(58, 74%, 48%)
CMYKcmyk(0%, 2.5%, 73.8%, 52.2%)
CIE-LABlab(48.80, -9.83, 45.54)
CIE-LCHlch(48.80, 46.59, 102.18°)
OKLaboklab(55.53% -0.0317 0.101)
OKLCHoklch(55.53% 0.106 107.4)
XYZxyz(14.8841, 17.4360, 3.9477)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7720 #20237A
analogous
#7A4A20 #7A7720 #507A20
triadic
#7A7720 #207A77 #77207A
tetradic
#7A7720 #207A4A #20237A #7A2050
square
#7A7720 #207A4A #20237A #7A2050
split-complementary
#7A7720 #20507A #4A207A
monochromatic
#191807 #4A4813 #7A7720 #AAA62D #CECA46

Accessibility & contrast

On white

4.68
#7A7720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7A7720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7720
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7720#FFFFFF#000000##FFFFFF
##7A77201.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817211
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#836F66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a7720;
/* rgb */ color: rgb(122, 119, 32);
/* oklch */ color: oklch(55.5% 0.106 107.4);
Tailwind
colors: {
  custom: {
    50: '#a39e62',
    500: '#7a7720',
    950: '#000000',
  },
}
SCSS
$custom: #7a7720;
$custom-light: #a39e62;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7720",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 58,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55529,
    "c": 0.10581,
    "h": 107.4
  },
  "luminance": 0.17436
}

Semantic roles & 50–950 ramp

primary
#7A7720
secondary
#494CAD
accent
#4BE246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #7A7720

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

Preview Lab → · Contrast checker → · Palette generator →

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