#7B7717#7B7717

#7B7717 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.111 H 107.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7B7717
RGBrgb(123, 119, 23)
HSLhsl(58, 68%, 29%)
HSVhsv(58, 81%, 48%)
CMYKcmyk(0%, 3.3%, 81.3%, 51.8%)
CIE-LABlab(48.84, -9.77, 48.84)
CIE-LCHlch(48.84, 49.81, 101.31°)
OKLaboklab(55.57% -0.0324 0.1062)
OKLCHoklch(55.57% 0.111 107)
XYZxyz(14.9205, 17.4670, 3.3960)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7717 #171B7B
analogous
#7B4517 #7B7717 #4D7B17
triadic
#7B7717 #177B77 #77177B
tetradic
#7B7717 #177B45 #171B7B #7B174D
square
#7B7717 #177B45 #171B7B #7B174D
split-complementary
#7B7717 #174D7B #45177B
monochromatic
#1A1905 #47450D #7B7717 #AFA921 #D9D233

Accessibility & contrast

On white

4.67
#7B7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7B7717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7717
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7717#FFFFFF#000000##FFFFFF
##7B77171.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#856F65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b7717;
/* rgb */ color: rgb(123, 119, 23);
/* oklch */ color: oklch(55.6% 0.111 107.0);
Tailwind
colors: {
  custom: {
    50: '#a59d5e',
    500: '#7b7717',
    950: '#000000',
  },
}
SCSS
$custom: #7b7717;
$custom-light: #a59d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7717",
  "rgb": {
    "r": 123,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 57.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55565,
    "c": 0.11101,
    "h": 107
  },
  "luminance": 0.17466
}

Semantic roles & 50–950 ramp

primary
#7B7717
secondary
#3E42B0
accent
#43EB3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7717

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

Preview Lab → · Contrast checker → · Palette generator →

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