#7B752A#7B752A

#7B752A is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.2% C 0.096 H 104.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7B752A
RGBrgb(123, 117, 42)
HSLhsl(56, 49%, 32%)
HSVhsv(56, 66%, 48%)
CMYKcmyk(0%, 4.9%, 65.9%, 51.8%)
CIE-LABlab(48.39, -7.64, 40.84)
CIE-LCHlch(48.39, 41.55, 100.60°)
OKLaboklab(55.24% -0.0244 0.0928)
OKLCHoklch(55.24% 0.096 104.7)
XYZxyz(14.9481, 17.1012, 4.7035)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B752A #2A307B
analogous
#7B4D2A #7B752A #587B2A
triadic
#7B752A #2A7B75 #752A7B
tetradic
#7B752A #2A7B4D #2A307B #7B2A58
square
#7B752A #2A7B4D #2A307B #7B2A58
split-complementary
#7B752A #2A587B #4D2A7B
monochromatic
#201E0B #4D4A1A #7B752A #A9A03A #C6BE59

Accessibility & contrast

On white

4.75
#7B752A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7B752A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B752A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B752A#FFFFFF#000000##FFFFFF
##7B752A1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7121
Deuteranopia (green-blind)
#81742E
Tritanopia (blue-blind)
#846D65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b752a;
/* rgb */ color: rgb(123, 117, 42);
/* oklch */ color: oklch(55.2% 0.096 104.7);
Tailwind
colors: {
  custom: {
    50: '#a49c67',
    500: '#7b752a',
    950: '#000000',
  },
}
SCSS
$custom: #7b752a;
$custom-light: #a49c67;
$custom-dark: #000000;
JSON
{
  "hex": "#7b752a",
  "rgb": {
    "r": 123,
    "g": 117,
    "b": 42
  },
  "hsl": {
    "h": 55.556,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55243,
    "c": 0.09595,
    "h": 104.7
  },
  "luminance": 0.17101
}

Semantic roles & 50–950 ramp

primary
#7B752A
secondary
#555BAC
accent
#59D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7B752A

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

Preview Lab → · Contrast checker → · Palette generator →

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