#7B682D#7B682D

#7B682D is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.3% C 0.082 H 91.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7B682D
RGBrgb(123, 104, 45)
HSLhsl(45, 46%, 33%)
HSVhsv(45, 63%, 48%)
CMYKcmyk(0%, 15.4%, 63.4%, 51.8%)
CIE-LABlab(44.66, -0.00, 35.31)
CIE-LCHlch(44.66, 35.31, 90.00°)
OKLaboklab(52.3% -0.0021 0.0815)
OKLCHoklch(52.3% 0.082 91.5)
XYZxyz(13.5930, 14.3018, 4.5267)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B682D #2D407B
analogous
#7B412D #7B682D #677B2D
triadic
#7B682D #2D7B68 #682D7B
tetradic
#7B682D #2D7B41 #2D407B #7B2D67
square
#7B682D #2D7B41 #2D407B #7B2D67
split-complementary
#7B682D #2D677B #412D7B
monochromatic
#211C0C #4E421D #7B682D #A88E3D #C4AB5E

Accessibility & contrast

On white

5.44
#7B682D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7B682D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B682D
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B682D#FFFFFF#000000##FFFFFF
##7B682D1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736627
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#85605B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b682d;
/* rgb */ color: rgb(123, 104, 45);
/* oklch */ color: oklch(52.3% 0.082 91.5);
Tailwind
colors: {
  custom: {
    50: '#a49268',
    500: '#7b682d',
    950: '#000000',
  },
}
SCSS
$custom: #7b682d;
$custom-light: #a49268;
$custom-dark: #000000;
JSON
{
  "hex": "#7b682d",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 45
  },
  "hsl": {
    "h": 45.385,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52301,
    "c": 0.08151,
    "h": 91.5
  },
  "luminance": 0.14301
}

Semantic roles & 50–950 ramp

primary
#7B682D
secondary
#596DAB
accent
#72D652
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0D06
muted
#7F7D7A

Preview Lab

Preview with #7B682D

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

Preview Lab → · Contrast checker → · Palette generator →

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