#7B6522#7B6522

#7B6522 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.5% C 0.089 H 90.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7B6522
RGBrgb(123, 101, 34)
HSLhsl(45, 57%, 31%)
HSVhsv(45, 72%, 48%)
CMYKcmyk(0%, 17.9%, 72.4%, 51.8%)
CIE-LABlab(43.70, 1.00, 39.63)
CIE-LCHlch(43.70, 39.64, 88.55°)
OKLaboklab(51.51% -0.0007 0.0888)
OKLCHoklch(51.51% 0.089 90.5)
XYZxyz(13.1115, 13.6346, 3.4542)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6522 #22387B
analogous
#7B3922 #7B6522 #647B22
triadic
#7B6522 #227B65 #65227B
tetradic
#7B6522 #227B39 #22387B #7B2264
square
#7B6522 #227B39 #22387B #7B2264
split-complementary
#7B6522 #22647B #39227B
monochromatic
#1B1607 #4B3E15 #7B6522 #AB8C2F #CDAD4A

Accessibility & contrast

On white

5.63
#7B6522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7B6522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6522
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6522#FFFFFF#000000##FFFFFF
##7B65221.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716419
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#855C57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b6522;
/* rgb */ color: rgb(123, 101, 34);
/* oklch */ color: oklch(51.5% 0.089 90.5);
Tailwind
colors: {
  custom: {
    50: '#a49061',
    500: '#7b6522',
    950: '#000000',
  },
}
SCSS
$custom: #7b6522;
$custom-light: #a49061;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6522",
  "rgb": {
    "r": 123,
    "g": 101,
    "b": 34
  },
  "hsl": {
    "h": 45.169,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.08881,
    "h": 90.5
  },
  "luminance": 0.13634
}

Semantic roles & 50–950 ramp

primary
#7B6522
secondary
#4B63AE
accent
#6DE048
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7B6522

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

Preview Lab → · Contrast checker → · Palette generator →

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