#7B7617#7B7617

#7B7617 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.110 H 106.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7B7617
RGBrgb(123, 118, 23)
HSLhsl(57, 68%, 29%)
HSVhsv(57, 81%, 48%)
CMYKcmyk(0%, 4.1%, 81.3%, 51.8%)
CIE-LABlab(48.55, -9.22, 48.58)
CIE-LCHlch(48.55, 49.45, 100.75°)
OKLaboklab(55.33% -0.0309 0.1056)
OKLCHoklch(55.33% 0.11 106.3)
XYZxyz(14.8021, 17.2302, 3.3565)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7617 #171C7B
analogous
#7B4417 #7B7617 #4E7B17
triadic
#7B7617 #177B76 #76177B
tetradic
#7B7617 #177B44 #171C7B #7B174E
square
#7B7617 #177B44 #171C7B #7B174E
split-complementary
#7B7617 #174E7B #44177B
monochromatic
#1A1905 #47450D #7B7617 #AFA721 #D9D133

Accessibility & contrast

On white

4.72
#7B7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7B7617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7617
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7617#FFFFFF#000000##FFFFFF
##7B76171.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#856D65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b7617;
/* rgb */ color: rgb(123, 118, 23);
/* oklch */ color: oklch(55.3% 0.110 106.3);
Tailwind
colors: {
  custom: {
    50: '#a59d5e',
    500: '#7b7617',
    950: '#000000',
  },
}
SCSS
$custom: #7b7617;
$custom-light: #a59d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7617",
  "rgb": {
    "r": 123,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 57,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5533,
    "c": 0.11002,
    "h": 106.3
  },
  "luminance": 0.1723
}

Semantic roles & 50–950 ramp

primary
#7B7617
secondary
#3E44B0
accent
#45EB3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7617

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

Preview Lab → · Contrast checker → · Palette generator →

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