#7B7220#7B7220

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

Color values

HEX#7B7220
RGBrgb(123, 114, 32)
HSLhsl(54, 59%, 30%)
HSVhsv(54, 74%, 48%)
CMYKcmyk(0%, 7.3%, 74%, 51.8%)
CIE-LABlab(47.43, -6.57, 44.23)
CIE-LCHlch(47.43, 44.71, 98.45°)
OKLaboklab(54.46% -0.0225 0.0982)
OKLCHoklch(54.46% 0.101 102.9)
XYZxyz(14.4470, 16.3505, 3.7612)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7220 #20297B
analogous
#7B4420 #7B7220 #567B20
triadic
#7B7220 #207B72 #72207B
tetradic
#7B7220 #207B44 #20297B #7B2056
square
#7B7220 #207B44 #20297B #7B2056
split-complementary
#7B7220 #20567B #44207B
monochromatic
#1A1807 #4A4513 #7B7220 #AC9F2D #CFC146

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7220#FFFFFF#000000##FFFFFF
##7B72201.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)
#7D6E13
Deuteranopia (green-blind)
#807225
Tritanopia (blue-blind)
#856A62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b7220;
/* rgb */ color: rgb(123, 114, 32);
/* oklch */ color: oklch(54.5% 0.101 102.9);
Tailwind
colors: {
  custom: {
    50: '#a49a61',
    500: '#7b7220',
    950: '#000000',
  },
}
SCSS
$custom: #7b7220;
$custom-light: #a49a61;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7220",
  "rgb": {
    "r": 123,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 54.066,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54457,
    "c": 0.10072,
    "h": 102.9
  },
  "luminance": 0.1635
}

Semantic roles & 50–950 ramp

primary
#7B7220
secondary
#4953AE
accent
#55E246
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7220

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

Preview Lab → · Contrast checker → · Palette generator →

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