#7B7016#7B7016

#7B7016 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.9% C 0.105 H 101.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7B7016
RGBrgb(123, 112, 22)
HSLhsl(53, 70%, 28%)
HSVhsv(53, 82%, 48%)
CMYKcmyk(0%, 8.9%, 82.1%, 51.8%)
CIE-LABlab(46.79, -5.90, 47.34)
CIE-LCHlch(46.79, 47.70, 97.10°)
OKLaboklab(53.93% -0.0217 0.1027)
OKLCHoklch(53.93% 0.105 101.9)
XYZxyz(14.1080, 15.8579, 3.0767)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7016 #16217B
analogous
#7B3D16 #7B7016 #537B16
triadic
#7B7016 #167B70 #70167B
tetradic
#7B7016 #167B3D #16217B #7B1653
square
#7B7016 #167B3D #16217B #7B1653
split-complementary
#7B7016 #16537B #3D167B
monochromatic
#1A1805 #47410D #7B7016 #AF9F1F #DAC831

Accessibility & contrast

On white

5.03
#7B7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7B7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7016
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7016#FFFFFF#000000##FFFFFF
##7B70161.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7E711D
Tritanopia (blue-blind)
#85675F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b7016;
/* rgb */ color: rgb(123, 112, 22);
/* oklch */ color: oklch(53.9% 0.105 101.9);
Tailwind
colors: {
  custom: {
    50: '#a5985c',
    500: '#7b7016',
    950: '#000000',
  },
}
SCSS
$custom: #7b7016;
$custom-light: #a5985c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7016",
  "rgb": {
    "r": 123,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 53.465,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53927,
    "c": 0.10499,
    "h": 101.9
  },
  "luminance": 0.15857
}

Semantic roles & 50–950 ramp

primary
#7B7016
secondary
#3D49B0
accent
#4FEC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B7016

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

Preview Lab → · Contrast checker → · Palette generator →

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