#7C795F#7C795F

#7C795F is a mid, muted yellow. Relative luminance 0.188; OKLCH L 57.2% C 0.038 H 102.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7C795F
RGBrgb(124, 121, 95)
HSLhsl(54, 13%, 43%)
HSVhsv(54, 23%, 49%)
CMYKcmyk(0%, 2.4%, 23.4%, 51.4%)
CIE-LABlab(50.44, -3.47, 14.71)
CIE-LCHlch(50.44, 15.11, 103.26°)
OKLaboklab(57.15% -0.008 0.0375)
OKLCHoklch(57.15% 0.038 102)
XYZxyz(17.2151, 18.7863, 13.5435)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C795F #5F627C
analogous
#7C6A5F #7C795F #707C5F
triadic
#7C795F #5F7C79 #795F7C
tetradic
#7C795F #5F7C6A #5F627C #7C5F70
square
#7C795F #5F7C6A #5F627C #7C5F70
split-complementary
#7C795F #5F707C #6A5F7C
monochromatic
#37352A #595744 #7C795F #9B987D #B6B4A0

Accessibility & contrast

On white

4.41
#7C795F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7C795F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C795F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C795F#FFFFFF#000000##000000
##7C795F1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E775D
Deuteranopia (green-blind)
#7F7960
Tritanopia (blue-blind)
#817572
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c795f;
/* rgb */ color: rgb(124, 121, 95);
/* oklch */ color: oklch(57.2% 0.038 102.0);
Tailwind
colors: {
  custom: {
    50: '#a29f8c',
    500: '#7c795f',
    950: '#000000',
  },
}
SCSS
$custom: #7c795f;
$custom-light: #a29f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c795f",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 53.793,
    "s": 13.242,
    "l": 42.941
  },
  "oklch": {
    "l": 0.57151,
    "c": 0.03829,
    "h": 102
  },
  "luminance": 0.18786
}

Semantic roles & 50–950 ramp

primary
#7C795F
secondary
#9294A5
accent
#79B672
background
#FAF9F8
surface
#F3F2F0
border
#CDCCCB
text
#0F0E0C
muted
#7F7E7D

Preview Lab

Preview with #7C795F

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

Preview Lab → · Contrast checker → · Palette generator →

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