#7B6819#7B6819

#7B6819 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.1% C 0.097 H 94.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7B6819
RGBrgb(123, 104, 25)
HSLhsl(48, 66%, 29%)
HSVhsv(48, 80%, 48%)
CMYKcmyk(0%, 15.4%, 79.7%, 51.8%)
CIE-LABlab(44.49, -1.20, 44.18)
CIE-LCHlch(44.49, 44.20, 91.55°)
OKLaboklab(52.11% -0.0081 0.0966)
OKLCHoklch(52.11% 0.097 94.8)
XYZxyz(13.2949, 14.1825, 2.9568)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6819 #192C7B
analogous
#7B3719 #7B6819 #5D7B19
triadic
#7B6819 #197B68 #68197B
tetradic
#7B6819 #197B37 #192C7B #7B195D
square
#7B6819 #197B37 #192C7B #7B195D
split-complementary
#7B6819 #195D7B #37197B
monochromatic
#191605 #483D0F #7B6819 #AE9323 #D7B838

Accessibility & contrast

On white

5.47
#7B6819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7B6819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6819
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6819#FFFFFF#000000##FFFFFF
##7B68191.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746609
Deuteranopia (green-blind)
#796C1E
Tritanopia (blue-blind)
#855F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b6819;
/* rgb */ color: rgb(123, 104, 25);
/* oklch */ color: oklch(52.1% 0.097 94.8);
Tailwind
colors: {
  custom: {
    50: '#a5925d',
    500: '#7b6819',
    950: '#000000',
  },
}
SCSS
$custom: #7b6819;
$custom-light: #a5925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6819",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 48.367,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52114,
    "c": 0.09695,
    "h": 94.8
  },
  "luminance": 0.14182
}

Semantic roles & 50–950 ramp

primary
#7B6819
secondary
#4056AF
accent
#60E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7B6819

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

Preview Lab → · Contrast checker → · Palette generator →

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