#7B7417#7B7417

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

Color values

HEX#7B7417
RGBrgb(123, 116, 23)
HSLhsl(56, 68%, 29%)
HSVhsv(56, 81%, 48%)
CMYKcmyk(0%, 5.7%, 81.3%, 51.8%)
CIE-LABlab(47.96, -8.11, 48.06)
CIE-LCHlch(47.96, 48.73, 99.58°)
OKLaboklab(54.86% -0.0278 0.1045)
OKLCHoklch(54.86% 0.108 104.9)
XYZxyz(14.5691, 16.7642, 3.2788)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7417 #171E7B
analogous
#7B4217 #7B7417 #507B17
triadic
#7B7417 #177B74 #74177B
tetradic
#7B7417 #177B42 #171E7B #7B1750
square
#7B7417 #177B42 #171E7B #7B1750
split-complementary
#7B7417 #17507B #42177B
monochromatic
#1A1805 #47430D #7B7417 #AFA521 #D9CD33

Accessibility & contrast

On white

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

On black

4.35
#7B7417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B7417#FFFFFF#000000##FFFFFF
##7B74171.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#81741F
Tritanopia (blue-blind)
#856B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b7417;
/* rgb */ color: rgb(123, 116, 23);
/* oklch */ color: oklch(54.9% 0.108 104.9);
Tailwind
colors: {
  custom: {
    50: '#a59b5d',
    500: '#7b7417',
    950: '#000000',
  },
}
SCSS
$custom: #7b7417;
$custom-light: #a59b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7417",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 55.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54862,
    "c": 0.1081,
    "h": 104.9
  },
  "luminance": 0.16764
}

Semantic roles & 50–950 ramp

primary
#7B7417
secondary
#3E46B0
accent
#49EB3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7417

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

Preview Lab → · Contrast checker → · Palette generator →

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