#7B7221#7B7221

#7B7221 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.5% C 0.100 H 102.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7B7221
RGBrgb(123, 114, 33)
HSLhsl(54, 58%, 31%)
HSVhsv(54, 73%, 48%)
CMYKcmyk(0%, 7.3%, 73.2%, 51.8%)
CIE-LABlab(47.44, -6.52, 43.82)
CIE-LCHlch(47.44, 44.31, 98.46°)
OKLaboklab(54.47% -0.0223 0.0975)
OKLCHoklch(54.47% 0.1 102.9)
XYZxyz(14.4608, 16.3560, 3.8339)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7221 #212A7B
analogous
#7B4521 #7B7221 #577B21
triadic
#7B7221 #217B72 #72217B
tetradic
#7B7221 #217B45 #212A7B #7B2157
square
#7B7221 #217B45 #212A7B #7B2157
split-complementary
#7B7221 #21577B #45217B
monochromatic
#1A1907 #4B4514 #7B7221 #AB9F2E #CEC148

Accessibility & contrast

On white

4.92
#7B7221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7B7221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7221
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7221#FFFFFF#000000##FFFFFF
##7B72211.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b7221;
/* rgb */ color: rgb(123, 114, 33);
/* oklch */ color: oklch(54.5% 0.100 102.9);
Tailwind
colors: {
  custom: {
    50: '#a49a62',
    500: '#7b7221',
    950: '#000000',
  },
}
SCSS
$custom: #7b7221;
$custom-light: #a49a62;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7221",
  "rgb": {
    "r": 123,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 54,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54465,
    "c": 0.10001,
    "h": 102.9
  },
  "luminance": 0.16355
}

Semantic roles & 50–950 ramp

primary
#7B7221
secondary
#4A54AE
accent
#56E147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7B7221

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

Preview Lab → · Contrast checker → · Palette generator →

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