#7B682E#7B682E

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

Color values

HEX#7B682E
RGBrgb(123, 104, 46)
HSLhsl(45, 46%, 33%)
HSVhsv(45, 63%, 48%)
CMYKcmyk(0%, 15.4%, 62.6%, 51.8%)
CIE-LABlab(44.67, 0.07, 34.81)
CIE-LCHlch(44.67, 34.81, 89.88°)
OKLaboklab(52.31% -0.0018 0.0806)
OKLCHoklch(52.31% 0.081 91.3)
XYZxyz(13.6125, 14.3096, 4.6293)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B682E #2E417B
analogous
#7B412E #7B682E #677B2E
triadic
#7B682E #2E7B68 #682E7B
tetradic
#7B682E #2E7B41 #2E417B #7B2E67
square
#7B682E #2E7B41 #2E417B #7B2E67
split-complementary
#7B682E #2E677B #412E7B
monochromatic
#221D0D #4E421D #7B682E #A88E3F #C3AB60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B682E#FFFFFF#000000##FFFFFF
##7B682E1.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)
#736628
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#85605B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b682e;
/* rgb */ color: rgb(123, 104, 46);
/* oklch */ color: oklch(52.3% 0.081 91.3);
Tailwind
colors: {
  custom: {
    50: '#a49269',
    500: '#7b682e',
    950: '#000000',
  },
}
SCSS
$custom: #7b682e;
$custom-light: #a49269;
$custom-dark: #000000;
JSON
{
  "hex": "#7b682e",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 46
  },
  "hsl": {
    "h": 45.195,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52313,
    "c": 0.08057,
    "h": 91.3
  },
  "luminance": 0.14309
}

Semantic roles & 50–950 ramp

primary
#7B682E
secondary
#5B6EAA
accent
#73D553
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0D06
muted
#7F7D7A

Preview Lab

Preview with #7B682E

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

Preview Lab → · Contrast checker → · Palette generator →

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