#7B7216#7B7216

#7B7216 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.107 H 103.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7B7216
RGBrgb(123, 114, 22)
HSLhsl(55, 70%, 28%)
HSVhsv(55, 82%, 48%)
CMYKcmyk(0%, 7.3%, 82.1%, 51.8%)
CIE-LABlab(47.37, -7.03, 47.86)
CIE-LCHlch(47.37, 48.37, 98.35°)
OKLaboklab(54.39% -0.0248 0.1038)
OKLCHoklch(54.39% 0.107 103.5)
XYZxyz(14.3312, 16.3041, 3.1510)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7216 #161F7B
analogous
#7B3F16 #7B7216 #517B16
triadic
#7B7216 #167B72 #72167B
tetradic
#7B7216 #167B3F #161F7B #7B1651
square
#7B7216 #167B3F #161F7B #7B1651
split-complementary
#7B7216 #16517B #3F167B
monochromatic
#1A1805 #47420D #7B7216 #AFA21F #DACB31

Accessibility & contrast

On white

4.93
#7B7216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7B7216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7216
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7216#FFFFFF#000000##FFFFFF
##7B72161.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#80721E
Tritanopia (blue-blind)
#856961
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b7216;
/* rgb */ color: rgb(123, 114, 22);
/* oklch */ color: oklch(54.4% 0.107 103.5);
Tailwind
colors: {
  custom: {
    50: '#a59a5d',
    500: '#7b7216',
    950: '#000000',
  },
}
SCSS
$custom: #7b7216;
$custom-light: #a59a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7216",
  "rgb": {
    "r": 123,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 54.653,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5439,
    "c": 0.10676,
    "h": 103.5
  },
  "luminance": 0.16304
}

Semantic roles & 50–950 ramp

primary
#7B7216
secondary
#3D47B0
accent
#4BEC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7B7216

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

Preview Lab → · Contrast checker → · Palette generator →

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