#7A7221#7A7221

#7A7221 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.100 H 103.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7A7221
RGBrgb(122, 114, 33)
HSLhsl(55, 57%, 30%)
HSVhsv(55, 73%, 48%)
CMYKcmyk(0%, 6.6%, 73%, 52.2%)
CIE-LABlab(47.34, -6.98, 43.70)
CIE-LCHlch(47.34, 44.25, 99.08°)
OKLaboklab(54.37% -0.0236 0.0973)
OKLCHoklch(54.37% 0.1 103.6)
XYZxyz(14.3185, 16.2826, 3.8272)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7221 #21297A
analogous
#7A4621 #7A7221 #557A21
triadic
#7A7221 #217A72 #72217A
tetradic
#7A7221 #217A46 #21297A #7A2155
square
#7A7221 #217A46 #21297A #7A2155
split-complementary
#7A7221 #21557A #46217A
monochromatic
#1A1807 #4A4514 #7A7221 #AA9F2E #CDC148

Accessibility & contrast

On white

4.93
#7A7221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7A7221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7221
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7221#FFFFFF#000000##FFFFFF
##7A72211.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E14
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#836A62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a7221;
/* rgb */ color: rgb(122, 114, 33);
/* oklch */ color: oklch(54.4% 0.100 103.6);
Tailwind
colors: {
  custom: {
    50: '#a39a62',
    500: '#7a7221',
    950: '#000000',
  },
}
SCSS
$custom: #7a7221;
$custom-light: #a39a62;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7221",
  "rgb": {
    "r": 122,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 54.607,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54367,
    "c": 0.10008,
    "h": 103.6
  },
  "luminance": 0.16282
}

Semantic roles & 50–950 ramp

primary
#7A7221
secondary
#4A53AD
accent
#55E147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #7A7221

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

Preview Lab → · Contrast checker → · Palette generator →

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