#7B7420#7B7420

#7B7420 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.103 H 104.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7B7420
RGBrgb(123, 116, 32)
HSLhsl(55, 59%, 30%)
HSVhsv(55, 74%, 48%)
CMYKcmyk(0%, 5.7%, 74%, 51.8%)
CIE-LABlab(48.02, -7.69, 44.80)
CIE-LCHlch(48.02, 45.46, 99.74°)
OKLaboklab(54.92% -0.0257 0.0994)
OKLCHoklch(54.92% 0.103 104.5)
XYZxyz(14.6751, 16.8066, 3.8372)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7420 #20277B
analogous
#7B4720 #7B7420 #547B20
triadic
#7B7420 #207B74 #74207B
tetradic
#7B7420 #207B47 #20277B #7B2054
square
#7B7420 #207B47 #20277B #7B2054
split-complementary
#7B7420 #20547B #47207B
monochromatic
#1A1807 #4A4613 #7B7420 #ACA22D #CFC446

Accessibility & contrast

On white

4.82
#7B7420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7B7420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7420
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7420#FFFFFF#000000##FFFFFF
##7B74201.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7012
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#856C63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b7420;
/* rgb */ color: rgb(123, 116, 32);
/* oklch */ color: oklch(54.9% 0.103 104.5);
Tailwind
colors: {
  custom: {
    50: '#a49b62',
    500: '#7b7420',
    950: '#000000',
  },
}
SCSS
$custom: #7b7420;
$custom-light: #a49b62;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7420",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 55.385,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54922,
    "c": 0.10264,
    "h": 104.5
  },
  "luminance": 0.16806
}

Semantic roles & 50–950 ramp

primary
#7B7420
secondary
#4950AE
accent
#52E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7B7420

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

Preview Lab → · Contrast checker → · Palette generator →

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