#7B6A16#7B6A16

#7B6A16 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.5% C 0.100 H 96.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7B6A16
RGBrgb(123, 106, 22)
HSLhsl(50, 70%, 28%)
HSVhsv(50, 82%, 48%)
CMYKcmyk(0%, 13.8%, 82.1%, 51.8%)
CIE-LABlab(45.05, -2.48, 45.78)
CIE-LCHlch(45.05, 45.85, 93.10°)
OKLaboklab(52.55% -0.012 0.0994)
OKLCHoklch(52.55% 0.1 96.9)
XYZxyz(13.4680, 14.5777, 2.8633)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6A16 #16277B
analogous
#7B3716 #7B6A16 #597B16
triadic
#7B6A16 #167B6A #6A167B
tetradic
#7B6A16 #167B37 #16277B #7B1659
square
#7B6A16 #167B37 #16277B #7B1659
split-complementary
#7B6A16 #16597B #37167B
monochromatic
#1A1605 #473D0D #7B6A16 #AF971F #DABE31

Accessibility & contrast

On white

5.36
#7B6A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7B6A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6A16
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6A16#FFFFFF#000000##FFFFFF
##7B6A161.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766702
Deuteranopia (green-blind)
#7A6D1C
Tritanopia (blue-blind)
#85615A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b6a16;
/* rgb */ color: rgb(123, 106, 22);
/* oklch */ color: oklch(52.5% 0.100 96.9);
Tailwind
colors: {
  custom: {
    50: '#a5945b',
    500: '#7b6a16',
    950: '#000000',
  },
}
SCSS
$custom: #7b6a16;
$custom-light: #a5945b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6a16",
  "rgb": {
    "r": 123,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 49.901,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52549,
    "c": 0.10011,
    "h": 96.9
  },
  "luminance": 0.14577
}

Semantic roles & 50–950 ramp

primary
#7B6A16
secondary
#3D50B0
accent
#59EC3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6A16

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

Preview Lab → · Contrast checker → · Palette generator →

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