#7B7916#7B7916

#7B7916 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.114 H 108.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7B7916
RGBrgb(123, 121, 22)
HSLhsl(59, 70%, 28%)
HSVhsv(59, 82%, 48%)
CMYKcmyk(0%, 1.6%, 82.1%, 51.8%)
CIE-LABlab(49.43, -10.91, 49.68)
CIE-LCHlch(49.43, 50.86, 102.39°)
OKLaboklab(56.03% -0.0357 0.1078)
OKLCHoklch(56.03% 0.114 108.3)
XYZxyz(15.1512, 17.9441, 3.4244)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7916 #16187B
analogous
#7B4616 #7B7916 #4A7B16
triadic
#7B7916 #167B79 #79167B
tetradic
#7B7916 #167B46 #16187B #7B164A
square
#7B7916 #167B46 #16187B #7B164A
split-complementary
#7B7916 #164A7B #46167B
monochromatic
#1A1A05 #47460D #7B7916 #AFAC1F #DAD731

Accessibility & contrast

On white

4.58
#7B7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7B7916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7916
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7916#FFFFFF#000000##000000
##7B79161.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#85771F
Tritanopia (blue-blind)
#847167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b7916;
/* rgb */ color: rgb(123, 121, 22);
/* oklch */ color: oklch(56.0% 0.114 108.3);
Tailwind
colors: {
  custom: {
    50: '#a59f5e',
    500: '#7b7916',
    950: '#000000',
  },
}
SCSS
$custom: #7b7916;
$custom-light: #a59f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7916",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 58.812,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5603,
    "c": 0.11351,
    "h": 108.3
  },
  "luminance": 0.17944
}

Semantic roles & 50–950 ramp

primary
#7B7916
secondary
#3D3FB0
accent
#3FEC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7916

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

Preview Lab → · Contrast checker → · Palette generator →

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