#7B6C16#7B6C16

#7B6C16 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 53.0% C 0.102 H 98.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7B6C16
RGBrgb(123, 108, 22)
HSLhsl(51, 70%, 28%)
HSVhsv(51, 82%, 48%)
CMYKcmyk(0%, 12.2%, 82.1%, 51.8%)
CIE-LABlab(45.63, -3.62, 46.30)
CIE-LCHlch(45.63, 46.44, 94.48°)
OKLaboklab(53.01% -0.0153 0.1005)
OKLCHoklch(53.01% 0.102 98.6)
XYZxyz(13.6765, 14.9947, 2.9328)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6C16 #16257B
analogous
#7B3916 #7B6C16 #577B16
triadic
#7B6C16 #167B6C #6C167B
tetradic
#7B6C16 #167B39 #16257B #7B1657
square
#7B6C16 #167B39 #16257B #7B1657
split-complementary
#7B6C16 #16577B #39167B
monochromatic
#1A1705 #473E0D #7B6C16 #AF9A1F #DAC131

Accessibility & contrast

On white

5.25
#7B6C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7B6C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6C16
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6C16#FFFFFF#000000##FFFFFF
##7B6C161.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786902
Deuteranopia (green-blind)
#7C6E1C
Tritanopia (blue-blind)
#85635C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b6c16;
/* rgb */ color: rgb(123, 108, 22);
/* oklch */ color: oklch(53.0% 0.102 98.6);
Tailwind
colors: {
  custom: {
    50: '#a5955c',
    500: '#7b6c16',
    950: '#000000',
  },
}
SCSS
$custom: #7b6c16;
$custom-light: #a5955c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6c16",
  "rgb": {
    "r": 123,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 51.089,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.10165,
    "h": 98.6
  },
  "luminance": 0.14994
}

Semantic roles & 50–950 ramp

primary
#7B6C16
secondary
#3D4EB0
accent
#56EC3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6C16

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

Preview Lab → · Contrast checker → · Palette generator →

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