#7B6417#7B6417

#7B6417 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.2% C 0.096 H 91.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7B6417
RGBrgb(123, 100, 23)
HSLhsl(46, 68%, 29%)
HSVhsv(46, 81%, 48%)
CMYKcmyk(0%, 18.7%, 81.3%, 51.8%)
CIE-LABlab(43.34, 1.04, 43.88)
CIE-LCHlch(43.34, 43.89, 88.64°)
OKLaboklab(51.2% -0.0019 0.0955)
OKLCHoklch(51.2% 0.096 91.2)
XYZxyz(12.8810, 13.3880, 2.7161)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6417 #172E7B
analogous
#7B3217 #7B6417 #607B17
triadic
#7B6417 #177B64 #64177B
tetradic
#7B6417 #177B32 #172E7B #7B1760
square
#7B6417 #177B32 #172E7B #7B1760
split-complementary
#7B6417 #17607B #32177B
monochromatic
#1A1505 #473A0D #7B6417 #AF8E21 #D9B333

Accessibility & contrast

On white

5.71
#7B6417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7B6417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6417
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6417#FFFFFF#000000##FFFFFF
##7B64171.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706307
Deuteranopia (green-blind)
#76691C
Tritanopia (blue-blind)
#865B55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b6417;
/* rgb */ color: rgb(123, 100, 23);
/* oklch */ color: oklch(51.2% 0.096 91.2);
Tailwind
colors: {
  custom: {
    50: '#a58f5b',
    500: '#7b6417',
    950: '#000000',
  },
}
SCSS
$custom: #7b6417;
$custom-light: #a58f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6417",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 46.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.512,
    "c": 0.09552,
    "h": 91.2
  },
  "luminance": 0.13387
}

Semantic roles & 50–950 ramp

primary
#7B6417
secondary
#3E58B0
accent
#65EB3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6417

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

Preview Lab → · Contrast checker → · Palette generator →

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