#7B7322#7B7322

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

Color values

HEX#7B7322
RGBrgb(123, 115, 34)
HSLhsl(55, 57%, 31%)
HSVhsv(55, 72%, 48%)
CMYKcmyk(0%, 6.5%, 72.4%, 51.8%)
CIE-LABlab(47.74, -7.02, 43.70)
CIE-LCHlch(47.74, 44.26, 99.13°)
OKLaboklab(54.71% -0.0236 0.0974)
OKLCHoklch(54.71% 0.1 103.6)
XYZxyz(14.5885, 16.5885, 3.9465)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7322 #222A7B
analogous
#7B4622 #7B7322 #567B22
triadic
#7B7322 #227B73 #73227B
tetradic
#7B7322 #227B46 #222A7B #7B2256
square
#7B7322 #227B46 #222A7B #7B2256
split-complementary
#7B7322 #22567B #46227B
monochromatic
#1B1907 #4B4615 #7B7322 #ABA02F #CDC14A

Accessibility & contrast

On white

4.86
#7B7322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7B7322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7322
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7322#FFFFFF#000000##FFFFFF
##7B73221.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F16
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#856B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b7322;
/* rgb */ color: rgb(123, 115, 34);
/* oklch */ color: oklch(54.7% 0.100 103.6);
Tailwind
colors: {
  custom: {
    50: '#a49b63',
    500: '#7b7322',
    950: '#000000',
  },
}
SCSS
$custom: #7b7322;
$custom-light: #a49b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7322",
  "rgb": {
    "r": 123,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 54.607,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54705,
    "c": 0.10025,
    "h": 103.6
  },
  "luminance": 0.16588
}

Semantic roles & 50–950 ramp

primary
#7B7322
secondary
#4B54AE
accent
#56E048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7B7322

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

Preview Lab → · Contrast checker → · Palette generator →

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