#7C795B#7C795B

#7C795B is a mid, muted yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.044 H 102.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7C795B
RGBrgb(124, 121, 91)
HSLhsl(55, 15%, 42%)
HSVhsv(55, 27%, 49%)
CMYKcmyk(0%, 2.4%, 26.6%, 51.4%)
CIE-LABlab(50.35, -4.08, 16.91)
CIE-LCHlch(50.35, 17.40, 103.57°)
OKLaboklab(57.06% -0.0098 0.0428)
OKLCHoklch(57.06% 0.044 102.9)
XYZxyz(17.0379, 18.7155, 12.6104)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C795B #5B5E7C
analogous
#7C695B #7C795B #6F7C5B
triadic
#7C795B #5B7C79 #795B7C
tetradic
#7C795B #5B7C69 #5B5E7C #7C5B6F
square
#7C795B #5B7C69 #5B5E7C #7C5B6F
split-complementary
#7C795B #5B6F7C #695B7C
monochromatic
#353427 #595741 #7C795B #9C9978 #B6B49B

Accessibility & contrast

On white

4.43
#7C795B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7C795B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C795B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C795B#FFFFFF#000000##000000
##7C795B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7759
Deuteranopia (green-blind)
#80795C
Tritanopia (blue-blind)
#817571
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c795b;
/* rgb */ color: rgb(124, 121, 91);
/* oklch */ color: oklch(57.1% 0.044 102.9);
Tailwind
colors: {
  custom: {
    50: '#a29f89',
    500: '#7c795b',
    950: '#000000',
  },
}
SCSS
$custom: #7c795b;
$custom-light: #a29f89;
$custom-dark: #000000;
JSON
{
  "hex": "#7c795b",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 54.545,
    "s": 15.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.57057,
    "c": 0.04387,
    "h": 102.9
  },
  "luminance": 0.18715
}

Semantic roles & 50–950 ramp

primary
#7C795B
secondary
#8E90A4
accent
#76B870
background
#FAF9F8
surface
#F3F2F0
border
#CDCCCB
text
#0F0E0B
muted
#7F7E7C

Preview Lab

Preview with #7C795B

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

Preview Lab → · Contrast checker → · Palette generator →

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