#7B7622#7B7622

#7B7622 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.103 H 105.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7B7622
RGBrgb(123, 118, 34)
HSLhsl(57, 57%, 31%)
HSVhsv(57, 72%, 48%)
CMYKcmyk(0%, 4.1%, 72.4%, 51.8%)
CIE-LABlab(48.62, -8.70, 44.58)
CIE-LCHlch(48.62, 45.42, 101.04°)
OKLaboklab(55.41% -0.0283 0.0993)
OKLCHoklch(55.41% 0.103 105.9)
XYZxyz(14.9361, 17.2839, 4.0624)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7622 #22277B
analogous
#7B4922 #7B7622 #537B22
triadic
#7B7622 #227B76 #76227B
tetradic
#7B7622 #227B49 #22277B #7B2253
square
#7B7622 #227B49 #22277B #7B2253
split-complementary
#7B7622 #22537B #49227B
monochromatic
#1B1A07 #4B4815 #7B7622 #ABA42F #CDC64A

Accessibility & contrast

On white

4.71
#7B7622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7B7622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7622
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7622#FFFFFF#000000##FFFFFF
##7B76221.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807215
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#846E65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b7622;
/* rgb */ color: rgb(123, 118, 34);
/* oklch */ color: oklch(55.4% 0.103 105.9);
Tailwind
colors: {
  custom: {
    50: '#a49d63',
    500: '#7b7622',
    950: '#000000',
  },
}
SCSS
$custom: #7b7622;
$custom-light: #a49d63;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7622",
  "rgb": {
    "r": 123,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 56.629,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.10324,
    "h": 105.9
  },
  "luminance": 0.17283
}

Semantic roles & 50–950 ramp

primary
#7B7622
secondary
#4B51AE
accent
#50E048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7B7622

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

Preview Lab → · Contrast checker → · Palette generator →

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