#7C795A#7C795A

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

Color values

HEX#7C795A
RGBrgb(124, 121, 90)
HSLhsl(55, 16%, 42%)
HSVhsv(55, 27%, 49%)
CMYKcmyk(0%, 2.4%, 27.4%, 51.4%)
CIE-LABlab(50.33, -4.23, 17.46)
CIE-LCHlch(50.33, 17.97, 103.61°)
OKLaboklab(57.03% -0.0102 0.0441)
OKLCHoklch(57.03% 0.045 103.1)
XYZxyz(16.9951, 18.6983, 12.3847)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C795A #5A5D7C
analogous
#7C685A #7C795A #6E7C5A
triadic
#7C795A #5A7C79 #795A7C
tetradic
#7C795A #5A7C68 #5A5D7C #7C5A6E
square
#7C795A #5A7C68 #5A5D7C #7C5A6E
split-complementary
#7C795A #5A6E7C #685A7C
monochromatic
#353427 #595640 #7C795A #9C9977 #B6B49A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C795A#FFFFFF#000000##000000
##7C795A1.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)
#7F7758
Deuteranopia (green-blind)
#80795B
Tritanopia (blue-blind)
#817571
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c795a;
/* rgb */ color: rgb(124, 121, 90);
/* oklch */ color: oklch(57.0% 0.045 103.1);
Tailwind
colors: {
  custom: {
    50: '#a29f89',
    500: '#7c795a',
    950: '#000000',
  },
}
SCSS
$custom: #7c795a;
$custom-light: #a29f89;
$custom-dark: #000000;
JSON
{
  "hex": "#7c795a",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 90
  },
  "hsl": {
    "h": 54.706,
    "s": 15.888,
    "l": 41.961
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.04525,
    "h": 103.1
  },
  "luminance": 0.18698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C795A

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

Preview Lab → · Contrast checker → · Palette generator →

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