#7B682A#7B682A

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

Color values

HEX#7B682A
RGBrgb(123, 104, 42)
HSLhsl(46, 49%, 32%)
HSVhsv(46, 66%, 48%)
CMYKcmyk(0%, 15.4%, 65.9%, 51.8%)
CIE-LABlab(44.63, -0.22, 36.78)
CIE-LCHlch(44.63, 36.78, 90.35°)
OKLaboklab(52.27% -0.0032 0.0842)
OKLCHoklch(52.27% 0.084 92.2)
XYZxyz(13.5373, 14.2795, 4.2332)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B682A #2A3D7B
analogous
#7B402A #7B682A #667B2A
triadic
#7B682A #2A7B68 #682A7B
tetradic
#7B682A #2A7B40 #2A3D7B #7B2A66
square
#7B682A #2A7B40 #2A3D7B #7B2A66
split-complementary
#7B682A #2A667B #402A7B
monochromatic
#201B0B #4D411A #7B682A #A98F3A #C6AD59

Accessibility & contrast

On white

5.45
#7B682A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B682A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B682A#FFFFFF#000000##FFFFFF
##7B682A1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736623
Deuteranopia (green-blind)
#786C2D
Tritanopia (blue-blind)
#85605B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b682a;
/* rgb */ color: rgb(123, 104, 42);
/* oklch */ color: oklch(52.3% 0.084 92.2);
Tailwind
colors: {
  custom: {
    50: '#a49266',
    500: '#7b682a',
    950: '#000000',
  },
}
SCSS
$custom: #7b682a;
$custom-light: #a49266;
$custom-dark: #000000;
JSON
{
  "hex": "#7b682a",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 42
  },
  "hsl": {
    "h": 45.926,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52266,
    "c": 0.08424,
    "h": 92.2
  },
  "luminance": 0.14279
}

Semantic roles & 50–950 ramp

primary
#7B682A
secondary
#5569AC
accent
#6FD94F
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0D06
muted
#7F7D7A

Preview Lab

Preview with #7B682A

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

Preview Lab → · Contrast checker → · Palette generator →

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