#7B7316#7B7316

#7B7316 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.6% C 0.108 H 104.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7B7316
RGBrgb(123, 115, 22)
HSLhsl(55, 70%, 28%)
HSVhsv(55, 82%, 48%)
CMYKcmyk(0%, 6.5%, 82.1%, 51.8%)
CIE-LABlab(47.66, -7.59, 48.12)
CIE-LCHlch(47.66, 48.71, 98.96°)
OKLaboklab(54.62% -0.0264 0.1044)
OKLCHoklch(54.62% 0.108 104.2)
XYZxyz(14.4446, 16.5310, 3.1888)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7316 #161E7B
analogous
#7B4016 #7B7316 #507B16
triadic
#7B7316 #167B73 #73167B
tetradic
#7B7316 #167B40 #161E7B #7B1650
square
#7B7316 #167B40 #161E7B #7B1650
split-complementary
#7B7316 #16507B #40167B
monochromatic
#1A1805 #47420D #7B7316 #AFA41F #DACD31

Accessibility & contrast

On white

4.88
#7B7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7B7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7316
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7316#FFFFFF#000000##FFFFFF
##7B73161.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#856A62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b7316;
/* rgb */ color: rgb(123, 115, 22);
/* oklch */ color: oklch(54.6% 0.108 104.2);
Tailwind
colors: {
  custom: {
    50: '#a59b5d',
    500: '#7b7316',
    950: '#000000',
  },
}
SCSS
$custom: #7b7316;
$custom-light: #a59b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7316",
  "rgb": {
    "r": 123,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 55.248,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54623,
    "c": 0.10768,
    "h": 104.2
  },
  "luminance": 0.1653
}

Semantic roles & 50–950 ramp

primary
#7B7316
secondary
#3D46B0
accent
#49EC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7316

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

Preview Lab → · Contrast checker → · Palette generator →

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