#7B7616#7B7616

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

Color values

HEX#7B7616
RGBrgb(123, 118, 22)
HSLhsl(57, 70%, 28%)
HSVhsv(57, 82%, 48%)
CMYKcmyk(0%, 4.1%, 82.1%, 51.8%)
CIE-LABlab(48.54, -9.26, 48.90)
CIE-LCHlch(48.54, 49.77, 100.72°)
OKLaboklab(55.32% -0.0311 0.1061)
OKLCHoklch(55.32% 0.111 106.3)
XYZxyz(14.7923, 17.2263, 3.3047)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7616 #161B7B
analogous
#7B4316 #7B7616 #4D7B16
triadic
#7B7616 #167B76 #76167B
tetradic
#7B7616 #167B43 #161B7B #7B164D
square
#7B7616 #167B43 #161B7B #7B164D
split-complementary
#7B7616 #164D7B #43167B
monochromatic
#1A1905 #47440D #7B7616 #AFA81F #DAD231

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7616#FFFFFF#000000##FFFFFF
##7B76161.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)
#83751E
Tritanopia (blue-blind)
#856D64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b7616;
/* rgb */ color: rgb(123, 118, 22);
/* oklch */ color: oklch(55.3% 0.111 106.3);
Tailwind
colors: {
  custom: {
    50: '#a59d5d',
    500: '#7b7616',
    950: '#000000',
  },
}
SCSS
$custom: #7b7616;
$custom-light: #a59d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7616",
  "rgb": {
    "r": 123,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 57.03,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55324,
    "c": 0.11053,
    "h": 106.3
  },
  "luminance": 0.17226
}

Semantic roles & 50–950 ramp

primary
#7B7616
secondary
#3D42B0
accent
#44EC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7616

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

Preview Lab → · Contrast checker → · Palette generator →

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