#7B7323#7B7323

#7B7323 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.7% C 0.100 H 103.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7B7323
RGBrgb(123, 115, 35)
HSLhsl(55, 56%, 31%)
HSVhsv(55, 72%, 48%)
CMYKcmyk(0%, 6.5%, 71.5%, 51.8%)
CIE-LABlab(47.74, -6.97, 43.29)
CIE-LCHlch(47.74, 43.85, 99.14°)
OKLaboklab(54.71% -0.0233 0.0967)
OKLCHoklch(54.71% 0.1 103.6)
XYZxyz(14.6031, 16.5944, 4.0236)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7323 #232B7B
analogous
#7B4723 #7B7323 #577B23
triadic
#7B7323 #237B73 #73237B
tetradic
#7B7323 #237B47 #232B7B #7B2357
square
#7B7323 #237B47 #232B7B #7B2357
split-complementary
#7B7323 #23577B #47237B
monochromatic
#1C1A08 #4B4615 #7B7323 #ABA031 #CCC14C

Accessibility & contrast

On white

4.86
#7B7323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7B7323 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7323
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7323#FFFFFF#000000##FFFFFF
##7B73231.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F17
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#846B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b7323;
/* rgb */ color: rgb(123, 115, 35);
/* oklch */ color: oklch(54.7% 0.100 103.6);
Tailwind
colors: {
  custom: {
    50: '#a49b63',
    500: '#7b7323',
    950: '#000000',
  },
}
SCSS
$custom: #7b7323;
$custom-light: #a49b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7323",
  "rgb": {
    "r": 123,
    "g": 115,
    "b": 35
  },
  "hsl": {
    "h": 54.545,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54714,
    "c": 0.09951,
    "h": 103.6
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

primary
#7B7323
secondary
#4C55AE
accent
#56DF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7B7323

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

Preview Lab → · Contrast checker → · Palette generator →

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