#7C795C#7C795C

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

Color values

HEX#7C795C
RGBrgb(124, 121, 92)
HSLhsl(54, 15%, 42%)
HSVhsv(54, 26%, 49%)
CMYKcmyk(0%, 2.4%, 25.8%, 51.4%)
CIE-LABlab(50.37, -3.93, 16.36)
CIE-LCHlch(50.37, 16.83, 103.50°)
OKLaboklab(57.08% -0.0093 0.0414)
OKLCHoklch(57.08% 0.042 102.7)
XYZxyz(17.0813, 18.7328, 12.8391)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C795C #5C5F7C
analogous
#7C695C #7C795C #6F7C5C
triadic
#7C795C #5C7C79 #795C7C
tetradic
#7C795C #5C7C69 #5C5F7C #7C5C6F
square
#7C795C #5C7C69 #5C5F7C #7C5C6F
split-complementary
#7C795C #5C6F7C #695C7C
monochromatic
#363428 #595742 #7C795C #9C9979 #B6B49C

Accessibility & contrast

On white

4.42
#7C795C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7C795C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C795C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C795C#FFFFFF#000000##000000
##7C795C1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c795c;
/* rgb */ color: rgb(124, 121, 92);
/* oklch */ color: oklch(57.1% 0.042 102.7);
Tailwind
colors: {
  custom: {
    50: '#a29f8a',
    500: '#7c795c',
    950: '#000000',
  },
}
SCSS
$custom: #7c795c;
$custom-light: #a29f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c795c",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 54.375,
    "s": 14.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5708,
    "c": 0.04248,
    "h": 102.7
  },
  "luminance": 0.18733
}

Semantic roles & 50–950 ramp

primary
#7C795C
secondary
#8F91A4
accent
#77B870
background
#FAF9F8
surface
#F3F2F0
border
#CDCCCB
text
#0F0E0B
muted
#7F7E7C

Preview Lab

Preview with #7C795C

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

Preview Lab → · Contrast checker → · Palette generator →

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