#7B7320#7B7320

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

Color values

HEX#7B7320
RGBrgb(123, 115, 32)
HSLhsl(55, 59%, 30%)
HSVhsv(55, 74%, 48%)
CMYKcmyk(0%, 6.5%, 74%, 51.8%)
CIE-LABlab(47.72, -7.13, 44.51)
CIE-LCHlch(47.72, 45.08, 99.10°)
OKLaboklab(54.69% -0.0241 0.0988)
OKLCHoklch(54.69% 0.102 103.7)
XYZxyz(14.5604, 16.5773, 3.7990)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7320 #20287B
analogous
#7B4520 #7B7320 #567B20
triadic
#7B7320 #207B73 #73207B
tetradic
#7B7320 #207B45 #20287B #7B2056
square
#7B7320 #207B45 #20287B #7B2056
split-complementary
#7B7320 #20567B #45207B
monochromatic
#1A1807 #4A4613 #7B7320 #ACA02D #CFC346

Accessibility & contrast

On white

4.87
#7B7320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B7320
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7320#FFFFFF#000000##FFFFFF
##7B73201.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b7320;
/* rgb */ color: rgb(123, 115, 32);
/* oklch */ color: oklch(54.7% 0.102 103.7);
Tailwind
colors: {
  custom: {
    50: '#a49b62',
    500: '#7b7320',
    950: '#000000',
  },
}
SCSS
$custom: #7b7320;
$custom-light: #a49b62;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7320",
  "rgb": {
    "r": 123,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 54.725,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54689,
    "c": 0.10167,
    "h": 103.7
  },
  "luminance": 0.16577
}

Semantic roles & 50–950 ramp

primary
#7B7320
secondary
#4952AE
accent
#54E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7B7320

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

Preview Lab → · Contrast checker → · Palette generator →

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