#7B6B16#7B6B16

#7B6B16 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.8% C 0.101 H 97.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7B6B16
RGBrgb(123, 107, 22)
HSLhsl(50, 70%, 28%)
HSVhsv(50, 82%, 48%)
CMYKcmyk(0%, 13%, 82.1%, 51.8%)
CIE-LABlab(45.34, -3.05, 46.04)
CIE-LCHlch(45.34, 46.14, 93.79°)
OKLaboklab(52.78% -0.0137 0.0999)
OKLCHoklch(52.78% 0.101 97.8)
XYZxyz(13.5716, 14.7850, 2.8978)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6B16 #16267B
analogous
#7B3816 #7B6B16 #587B16
triadic
#7B6B16 #167B6B #6B167B
tetradic
#7B6B16 #167B38 #16267B #7B1658
square
#7B6B16 #167B38 #16267B #7B1658
split-complementary
#7B6B16 #16587B #38167B
monochromatic
#1A1705 #473E0D #7B6B16 #AF981F #DABF31

Accessibility & contrast

On white

5.31
#7B6B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7B6B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6B16
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6B16#FFFFFF#000000##FFFFFF
##7B6B161.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776802
Deuteranopia (green-blind)
#7B6E1C
Tritanopia (blue-blind)
#85625B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b6b16;
/* rgb */ color: rgb(123, 107, 22);
/* oklch */ color: oklch(52.8% 0.101 97.8);
Tailwind
colors: {
  custom: {
    50: '#a5955c',
    500: '#7b6b16',
    950: '#000000',
  },
}
SCSS
$custom: #7b6b16;
$custom-light: #a5955c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6b16",
  "rgb": {
    "r": 123,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 50.495,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.10086,
    "h": 97.8
  },
  "luminance": 0.14784
}

Semantic roles & 50–950 ramp

primary
#7B6B16
secondary
#3D4FB0
accent
#57EC3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6B16

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

Preview Lab → · Contrast checker → · Palette generator →

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