#7B6622#7B6622

#7B6622 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.7% C 0.089 H 91.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7B6622
RGBrgb(123, 102, 34)
HSLhsl(46, 57%, 31%)
HSVhsv(46, 72%, 48%)
CMYKcmyk(0%, 17.1%, 72.4%, 51.8%)
CIE-LABlab(43.99, 0.42, 39.92)
CIE-LCHlch(43.99, 39.92, 89.40°)
OKLaboklab(51.74% -0.0024 0.0894)
OKLCHoklch(51.74% 0.089 91.5)
XYZxyz(13.2092, 13.8300, 3.4868)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6622 #22377B
analogous
#7B3922 #7B6622 #637B22
triadic
#7B6622 #227B66 #66227B
tetradic
#7B6622 #227B39 #22377B #7B2263
square
#7B6622 #227B39 #22377B #7B2263
split-complementary
#7B6622 #22637B #39227B
monochromatic
#1B1607 #4B3E15 #7B6622 #AB8E2F #CDAE4A

Accessibility & contrast

On white

5.58
#7B6622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7B6622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6622
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6622#FFFFFF#000000##FFFFFF
##7B66221.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726419
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#855D58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b6622;
/* rgb */ color: rgb(123, 102, 34);
/* oklch */ color: oklch(51.7% 0.089 91.5);
Tailwind
colors: {
  custom: {
    50: '#a49161',
    500: '#7b6622',
    950: '#000000',
  },
}
SCSS
$custom: #7b6622;
$custom-light: #a49161;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6622",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 34
  },
  "hsl": {
    "h": 45.843,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51735,
    "c": 0.08946,
    "h": 91.5
  },
  "luminance": 0.13829
}

Semantic roles & 50–950 ramp

primary
#7B6622
secondary
#4B62AE
accent
#6CE048
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7B6622

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

Preview Lab → · Contrast checker → · Palette generator →

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