#7C745B#7C745B

#7C745B is a mid, muted yellow. Relative luminance 0.175; OKLCH L 55.9% C 0.038 H 92.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7C745B
RGBrgb(124, 116, 91)
HSLhsl(45, 15%, 42%)
HSVhsv(45, 27%, 49%)
CMYKcmyk(0%, 6.5%, 26.6%, 51.4%)
CIE-LABlab(48.92, -1.22, 14.96)
CIE-LCHlch(48.92, 15.01, 94.67°)
OKLaboklab(55.93% -0.0016 0.038)
OKLCHoklch(55.93% 0.038 92.4)
XYZxyz(16.4460, 17.5316, 12.4131)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C745B #5B637C
analogous
#7C645B #7C745B #747C5B
triadic
#7C745B #5B7C74 #745B7C
tetradic
#7C745B #5B7C64 #5B637C #7C5B74
square
#7C745B #5B7C64 #5B637C #7C5B74
split-complementary
#7C745B #5B747C #645B7C
monochromatic
#353227 #595341 #7C745B #9C9378 #B6B09B

Accessibility & contrast

On white

4.66
#7C745B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7C745B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C745B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C745B#FFFFFF#000000##FFFFFF
##7C745B1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7359
Deuteranopia (green-blind)
#7C755C
Tritanopia (blue-blind)
#81706D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c745b;
/* rgb */ color: rgb(124, 116, 91);
/* oklch */ color: oklch(55.9% 0.038 92.4);
Tailwind
colors: {
  custom: {
    50: '#a29c89',
    500: '#7c745b',
    950: '#000000',
  },
}
SCSS
$custom: #7c745b;
$custom-light: #a29c89;
$custom-dark: #000000;
JSON
{
  "hex": "#7c745b",
  "rgb": {
    "r": 124,
    "g": 116,
    "b": 91
  },
  "hsl": {
    "h": 45.455,
    "s": 15.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.03805,
    "h": 92.4
  },
  "luminance": 0.17531
}

Semantic roles & 50–950 ramp

primary
#7C745B
secondary
#8E94A4
accent
#81B870
background
#FAF9F8
surface
#F3F2F0
border
#CDCCCB
text
#0F0E0B
muted
#7F7E7C

Preview Lab

Preview with #7C745B

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

Preview Lab → · Contrast checker → · Palette generator →

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