#7B6717#7B6717

#7B6717 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.9% C 0.097 H 94.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7B6717
RGBrgb(123, 103, 23)
HSLhsl(48, 68%, 29%)
HSVhsv(48, 81%, 48%)
CMYKcmyk(0%, 16.3%, 81.3%, 51.8%)
CIE-LABlab(44.20, -0.70, 44.66)
CIE-LCHlch(44.20, 44.66, 90.90°)
OKLaboklab(51.87% -0.0069 0.0972)
OKLCHoklch(51.87% 0.097 94.1)
XYZxyz(13.1740, 13.9741, 2.8138)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6717 #172B7B
analogous
#7B3517 #7B6717 #5D7B17
triadic
#7B6717 #177B67 #67177B
tetradic
#7B6717 #177B35 #172B7B #7B175D
square
#7B6717 #177B35 #172B7B #7B175D
split-complementary
#7B6717 #175D7B #35177B
monochromatic
#1A1605 #473C0D #7B6717 #AF9221 #D9B833

Accessibility & contrast

On white

5.53
#7B6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7B6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6717
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6717#FFFFFF#000000##FFFFFF
##7B67171.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#865E58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b6717;
/* rgb */ color: rgb(123, 103, 23);
/* oklch */ color: oklch(51.9% 0.097 94.1);
Tailwind
colors: {
  custom: {
    50: '#a5925b',
    500: '#7b6717',
    950: '#000000',
  },
}
SCSS
$custom: #7b6717;
$custom-light: #a5925b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6717",
  "rgb": {
    "r": 123,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 48,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51874,
    "c": 0.09743,
    "h": 94.1
  },
  "luminance": 0.13973
}

Semantic roles & 50–950 ramp

primary
#7B6717
secondary
#3E55B0
accent
#5FEB3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6717

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

Preview Lab → · Contrast checker → · Palette generator →

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