#7C795D#7C795D

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

Color values

HEX#7C795D
RGBrgb(124, 121, 93)
HSLhsl(54, 14%, 43%)
HSVhsv(54, 25%, 49%)
CMYKcmyk(0%, 2.4%, 25%, 51.4%)
CIE-LABlab(50.39, -3.78, 15.81)
CIE-LCHlch(50.39, 16.26, 103.44°)
OKLaboklab(57.1% -0.0089 0.0401)
OKLCHoklch(57.1% 0.041 102.5)
XYZxyz(17.1253, 18.7504, 13.0708)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C795D #5D607C
analogous
#7C6A5D #7C795D #6F7C5D
triadic
#7C795D #5D7C79 #795D7C
tetradic
#7C795D #5D7C6A #5D607C #7C5D6F
square
#7C795D #5D7C6A #5D607C #7C5D6F
split-complementary
#7C795D #5D6F7C #6A5D7C
monochromatic
#363529 #595743 #7C795D #9C987B #B6B49E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C795D#FFFFFF#000000##000000
##7C795D1.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)
#7E775B
Deuteranopia (green-blind)
#7F795E
Tritanopia (blue-blind)
#817571
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c795d;
/* rgb */ color: rgb(124, 121, 93);
/* oklch */ color: oklch(57.1% 0.041 102.5);
Tailwind
colors: {
  custom: {
    50: '#a29f8b',
    500: '#7c795d',
    950: '#000000',
  },
}
SCSS
$custom: #7c795d;
$custom-light: #a29f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c795d",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 54.194,
    "s": 14.286,
    "l": 42.549
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.0411,
    "h": 102.5
  },
  "luminance": 0.1875
}

Semantic roles & 50–950 ramp

primary
#7C795D
secondary
#9092A4
accent
#78B771
background
#FAF9F8
surface
#F3F2F0
border
#CDCCCB
text
#0F0E0C
muted
#7F7E7D

Preview Lab

Preview with #7C795D

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

Preview Lab → · Contrast checker → · Palette generator →

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