#7B6C19#7B6C19

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

Color values

HEX#7B6C19
RGBrgb(123, 108, 25)
HSLhsl(51, 66%, 29%)
HSVhsv(51, 80%, 48%)
CMYKcmyk(0%, 12.2%, 79.7%, 51.8%)
CIE-LABlab(45.64, -3.50, 45.25)
CIE-LCHlch(45.64, 45.39, 94.43°)
OKLaboklab(53.02% -0.0146 0.0989)
OKLCHoklch(53.02% 0.1 98.4)
XYZxyz(13.7071, 15.0070, 3.0942)
Luminance0.1501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6C19 #19287B
analogous
#7B3B19 #7B6C19 #597B19
triadic
#7B6C19 #197B6C #6C197B
tetradic
#7B6C19 #197B3B #19287B #7B1959
square
#7B6C19 #197B3B #19287B #7B1959
split-complementary
#7B6C19 #19597B #3B197B
monochromatic
#191605 #483F0F #7B6C19 #AE9923 #D7BE38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B6C19#FFFFFF#000000##FFFFFF
##7B6C191.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)
#776907
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#85635C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b6c19;
/* rgb */ color: rgb(123, 108, 25);
/* oklch */ color: oklch(53.0% 0.100 98.4);
Tailwind
colors: {
  custom: {
    50: '#a5955d',
    500: '#7b6c19',
    950: '#000000',
  },
}
SCSS
$custom: #7b6c19;
$custom-light: #a5955d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6c19",
  "rgb": {
    "r": 123,
    "g": 108,
    "b": 25
  },
  "hsl": {
    "h": 50.816,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53024,
    "c": 0.09997,
    "h": 98.4
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

primary
#7B6C19
secondary
#4051AF
accent
#59E93F
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6C19

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

Preview Lab → · Contrast checker → · Palette generator →

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