#7B6416#7B6416

#7B6416 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.2% C 0.096 H 91.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7B6416
RGBrgb(123, 100, 22)
HSLhsl(46, 70%, 28%)
HSVhsv(46, 82%, 48%)
CMYKcmyk(0%, 18.7%, 82.1%, 51.8%)
CIE-LABlab(43.34, 1.00, 44.24)
CIE-LCHlch(43.34, 44.25, 88.70°)
OKLaboklab(51.19% -0.0022 0.0961)
OKLCHoklch(51.19% 0.096 91.3)
XYZxyz(12.8711, 13.3840, 2.6643)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6416 #162D7B
analogous
#7B3216 #7B6416 #5F7B16
triadic
#7B6416 #167B64 #64167B
tetradic
#7B6416 #167B32 #162D7B #7B165F
square
#7B6416 #167B32 #162D7B #7B165F
split-complementary
#7B6416 #165F7B #32167B
monochromatic
#1A1505 #473A0D #7B6416 #AF8E1F #DAB431

Accessibility & contrast

On white

5.71
#7B6416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7B6416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6416
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6416#FFFFFF#000000##FFFFFF
##7B64161.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706305
Deuteranopia (green-blind)
#76691B
Tritanopia (blue-blind)
#865B55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b6416;
/* rgb */ color: rgb(123, 100, 22);
/* oklch */ color: oklch(51.2% 0.096 91.3);
Tailwind
colors: {
  custom: {
    50: '#a58f5b',
    500: '#7b6416',
    950: '#000000',
  },
}
SCSS
$custom: #7b6416;
$custom-light: #a58f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6416",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 22
  },
  "hsl": {
    "h": 46.337,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51194,
    "c": 0.09608,
    "h": 91.3
  },
  "luminance": 0.13383
}

Semantic roles & 50–950 ramp

primary
#7B6416
secondary
#3D57B0
accent
#64EC3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6416

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

Preview Lab → · Contrast checker → · Palette generator →

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