#7C752A#7C752A

#7C752A is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.096 H 104.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7C752A
RGBrgb(124, 117, 42)
HSLhsl(55, 49%, 33%)
HSVhsv(55, 66%, 49%)
CMYKcmyk(0%, 5.6%, 66.1%, 51.4%)
CIE-LABlab(48.48, -7.18, 40.96)
CIE-LCHlch(48.48, 41.59, 99.94°)
OKLaboklab(55.34% -0.0232 0.093)
OKLCHoklch(55.34% 0.096 104)
XYZxyz(15.0920, 17.1754, 4.7102)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C752A #2A317C
analogous
#7C4C2A #7C752A #5A7C2A
triadic
#7C752A #2A7C75 #752A7C
tetradic
#7C752A #2A7C4C #2A317C #7C2A5A
square
#7C752A #2A7C4C #2A317C #7C2A5A
split-complementary
#7C752A #2A5A7C #4C2A7C
monochromatic
#211F0B #4E4A1B #7C752A #AAA039 #C7BE59

Accessibility & contrast

On white

4.74
#7C752A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7C752A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C752A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C752A#FFFFFF#000000##FFFFFF
##7C752A1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c752a;
/* rgb */ color: rgb(124, 117, 42);
/* oklch */ color: oklch(55.3% 0.096 104.0);
Tailwind
colors: {
  custom: {
    50: '#a49c67',
    500: '#7c752a',
    950: '#000000',
  },
}
SCSS
$custom: #7c752a;
$custom-light: #a49c67;
$custom-dark: #000000;
JSON
{
  "hex": "#7c752a",
  "rgb": {
    "r": 124,
    "g": 117,
    "b": 42
  },
  "hsl": {
    "h": 54.878,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5534,
    "c": 0.09587,
    "h": 104
  },
  "luminance": 0.17175
}

Semantic roles & 50–950 ramp

primary
#7C752A
secondary
#555DAD
accent
#5BD94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7C752A

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

Preview Lab → · Contrast checker → · Palette generator →

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