#7B6216#7B6216

#7B6216 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.7% C 0.095 H 89.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7B6216
RGBrgb(123, 98, 22)
HSLhsl(45, 70%, 28%)
HSVhsv(45, 82%, 48%)
CMYKcmyk(0%, 20.3%, 82.1%, 51.8%)
CIE-LABlab(42.77, 2.17, 43.73)
CIE-LCHlch(42.77, 43.78, 87.16°)
OKLaboklab(50.75% 0.0012 0.095)
OKLCHoklch(50.75% 0.095 89.3)
XYZxyz(12.6817, 13.0051, 2.6012)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6216 #162F7B
analogous
#7B3016 #7B6216 #617B16
triadic
#7B6216 #167B62 #62167B
tetradic
#7B6216 #167B30 #162F7B #7B1661
square
#7B6216 #167B30 #162F7B #7B1661
split-complementary
#7B6216 #16617B #30167B
monochromatic
#1A1505 #47390D #7B6216 #AF8B1F #DAB031

Accessibility & contrast

On white

5.83
#7B6216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7B6216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6216
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6216#FFFFFF#000000##FFFFFF
##7B62161.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6106
Deuteranopia (green-blind)
#74681B
Tritanopia (blue-blind)
#865954
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b6216;
/* rgb */ color: rgb(123, 98, 22);
/* oklch */ color: oklch(50.7% 0.095 89.3);
Tailwind
colors: {
  custom: {
    50: '#a58e5a',
    500: '#7b6216',
    950: '#000000',
  },
}
SCSS
$custom: #7b6216;
$custom-light: #a58e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6216",
  "rgb": {
    "r": 123,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 45.149,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50748,
    "c": 0.09496,
    "h": 89.3
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#7B6216
secondary
#3D59B0
accent
#67EC3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6216

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

Preview Lab → · Contrast checker → · Palette generator →

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