#7B6728#7B6728

#7B6728 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.0% C 0.085 H 91.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7B6728
RGBrgb(123, 103, 40)
HSLhsl(46, 51%, 32%)
HSVhsv(46, 67%, 48%)
CMYKcmyk(0%, 16.3%, 67.5%, 51.8%)
CIE-LABlab(44.33, 0.22, 37.44)
CIE-LCHlch(44.33, 37.44, 89.67°)
OKLaboklab(52.02% -0.0022 0.0853)
OKLCHoklch(52.02% 0.085 91.5)
XYZxyz(13.4023, 14.0654, 4.0160)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6728 #283C7B
analogous
#7B3E28 #7B6728 #667B28
triadic
#7B6728 #287B67 #67287B
tetradic
#7B6728 #287B3E #283C7B #7B2866
square
#7B6728 #287B3E #283C7B #7B2866
split-complementary
#7B6728 #28667B #3E287B
monochromatic
#1F1A0A #4D4019 #7B6728 #A98E37 #C8AC56

Accessibility & contrast

On white

5.51
#7B6728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7B6728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6728
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6728#FFFFFF#000000##FFFFFF
##7B67281.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726521
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#855F5A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b6728;
/* rgb */ color: rgb(123, 103, 40);
/* oklch */ color: oklch(52.0% 0.085 91.5);
Tailwind
colors: {
  custom: {
    50: '#a49265',
    500: '#7b6728',
    950: '#000000',
  },
}
SCSS
$custom: #7b6728;
$custom-light: #a49265;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6728",
  "rgb": {
    "r": 123,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 45.542,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.08528,
    "h": 91.5
  },
  "luminance": 0.14065
}

Semantic roles & 50–950 ramp

primary
#7B6728
secondary
#5268AD
accent
#6FDA4D
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#100C06
muted
#7F7D7A

Preview Lab

Preview with #7B6728

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

Preview Lab → · Contrast checker → · Palette generator →

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