#7B6617#7B6617

#7B6617 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.6% C 0.097 H 93.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7B6617
RGBrgb(123, 102, 23)
HSLhsl(47, 68%, 29%)
HSVhsv(47, 81%, 48%)
CMYKcmyk(0%, 17.1%, 81.3%, 51.8%)
CIE-LABlab(43.91, -0.12, 44.40)
CIE-LCHlch(43.91, 44.40, 90.16°)
OKLaboklab(51.65% -0.0053 0.0966)
OKLCHoklch(51.65% 0.097 93.1)
XYZxyz(13.0752, 13.7763, 2.7809)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6617 #172C7B
analogous
#7B3417 #7B6617 #5E7B17
triadic
#7B6617 #177B66 #66177B
tetradic
#7B6617 #177B34 #172C7B #7B175E
square
#7B6617 #177B34 #172C7B #7B175E
split-complementary
#7B6617 #175E7B #34177B
monochromatic
#1A1505 #473B0D #7B6617 #AF9121 #D9B633

Accessibility & contrast

On white

5.59
#7B6617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7B6617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6617
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6617#FFFFFF#000000##FFFFFF
##7B66171.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#776A1C
Tritanopia (blue-blind)
#865D57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b6617;
/* rgb */ color: rgb(123, 102, 23);
/* oklch */ color: oklch(51.6% 0.097 93.1);
Tailwind
colors: {
  custom: {
    50: '#a5915b',
    500: '#7b6617',
    950: '#000000',
  },
}
SCSS
$custom: #7b6617;
$custom-light: #a5915b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6617",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 47.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51649,
    "c": 0.09676,
    "h": 93.1
  },
  "luminance": 0.13776
}

Semantic roles & 50–950 ramp

primary
#7B6617
secondary
#3E56B0
accent
#61EB3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6617

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

Preview Lab → · Contrast checker → · Palette generator →

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