#7B7117#7B7117

#7B7117 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.105 H 102.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7B7117
RGBrgb(123, 113, 23)
HSLhsl(54, 68%, 29%)
HSVhsv(54, 81%, 48%)
CMYKcmyk(0%, 8.1%, 81.3%, 51.8%)
CIE-LABlab(47.08, -6.43, 47.27)
CIE-LCHlch(47.08, 47.70, 97.74°)
OKLaboklab(54.16% -0.0231 0.1028)
OKLCHoklch(54.16% 0.105 102.7)
XYZxyz(14.2288, 16.0837, 3.1654)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7117 #17217B
analogous
#7B3F17 #7B7117 #537B17
triadic
#7B7117 #177B71 #71177B
tetradic
#7B7117 #177B3F #17217B #7B1753
square
#7B7117 #177B3F #17217B #7B1753
split-complementary
#7B7117 #17537B #3F177B
monochromatic
#1A1805 #47420D #7B7117 #AFA021 #D9C833

Accessibility & contrast

On white

4.98
#7B7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7B7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7117
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7117#FFFFFF#000000##FFFFFF
##7B71171.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#7F721E
Tritanopia (blue-blind)
#856860
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b7117;
/* rgb */ color: rgb(123, 113, 23);
/* oklch */ color: oklch(54.2% 0.105 102.7);
Tailwind
colors: {
  custom: {
    50: '#a5995d',
    500: '#7b7117',
    950: '#000000',
  },
}
SCSS
$custom: #7b7117;
$custom-light: #a5995d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7117",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 54,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54164,
    "c": 0.10534,
    "h": 102.7
  },
  "luminance": 0.16083
}

Semantic roles & 50–950 ramp

primary
#7B7117
secondary
#3E49B0
accent
#4EEB3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7B7117

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

Preview Lab → · Contrast checker → · Palette generator →

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