#7C752C#7C752C

#7C752C is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.094 H 103.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7C752C
RGBrgb(124, 117, 44)
HSLhsl(55, 48%, 33%)
HSVhsv(55, 65%, 49%)
CMYKcmyk(0%, 5.6%, 64.5%, 51.4%)
CIE-LABlab(48.50, -7.04, 40.05)
CIE-LCHlch(48.50, 40.66, 99.97°)
OKLaboklab(55.36% -0.0225 0.0914)
OKLCHoklch(55.36% 0.094 103.8)
XYZxyz(15.1286, 17.1901, 4.9035)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C752C #2C337C
analogous
#7C4D2C #7C752C #5B7C2C
triadic
#7C752C #2C7C75 #752C7C
tetradic
#7C752C #2C7C4D #2C337C #7C2C5B
square
#7C752C #2C7C4D #2C337C #7C2C5B
split-complementary
#7C752C #2C5B7C #4D2C7C
monochromatic
#22200C #4F4A1C #7C752C #A9A03C #C5BC5D

Accessibility & contrast

On white

4.73
#7C752C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7C752C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C752C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C752C#FFFFFF#000000##FFFFFF
##7C752C1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7123
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#856D66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c752c;
/* rgb */ color: rgb(124, 117, 44);
/* oklch */ color: oklch(55.4% 0.094 103.8);
Tailwind
colors: {
  custom: {
    50: '#a49c69',
    500: '#7c752c',
    950: '#000000',
  },
}
SCSS
$custom: #7c752c;
$custom-light: #a49c69;
$custom-dark: #000000;
JSON
{
  "hex": "#7c752c",
  "rgb": {
    "r": 124,
    "g": 117,
    "b": 44
  },
  "hsl": {
    "h": 54.75,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.09413,
    "h": 103.8
  },
  "luminance": 0.1719
}

Semantic roles & 50–950 ramp

primary
#7C752C
secondary
#585FAC
accent
#5CD751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7C752C

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

Preview Lab → · Contrast checker → · Palette generator →

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