#7C7A5D#7C7A5D

#7C7A5D is a mid, muted yellow. Relative luminance 0.190; OKLCH L 57.3% C 0.042 H 104.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7C7A5D
RGBrgb(124, 122, 93)
HSLhsl(56, 14%, 43%)
HSVhsv(56, 25%, 49%)
CMYKcmyk(0%, 1.6%, 25%, 51.4%)
CIE-LABlab(50.68, -4.34, 16.20)
CIE-LCHlch(50.68, 16.78, 105.01°)
OKLaboklab(57.33% -0.0105 0.0411)
OKLCHoklch(57.33% 0.042 104.4)
XYZxyz(17.2475, 18.9947, 13.1116)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7A5D #5D5F7C
analogous
#7C6A5D #7C7A5D #6F7C5D
triadic
#7C7A5D #5D7C7A #7A5D7C
tetradic
#7C7A5D #5D7C6A #5D5F7C #7C5D6F
square
#7C7A5D #5D7C6A #5D5F7C #7C5D6F
split-complementary
#7C7A5D #5D6F7C #6A5D7C
monochromatic
#363529 #595843 #7C7A5D #9C9A7B #B6B49E

Accessibility & contrast

On white

4.38
#7C7A5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7C7A5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7A5D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7A5D#FFFFFF#000000##000000
##7C7A5D1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F785B
Deuteranopia (green-blind)
#80795E
Tritanopia (blue-blind)
#817672
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c7a5d;
/* rgb */ color: rgb(124, 122, 93);
/* oklch */ color: oklch(57.3% 0.042 104.4);
Tailwind
colors: {
  custom: {
    50: '#a2a08b',
    500: '#7c7a5d',
    950: '#000000',
  },
}
SCSS
$custom: #7c7a5d;
$custom-light: #a2a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7a5d",
  "rgb": {
    "r": 124,
    "g": 122,
    "b": 93
  },
  "hsl": {
    "h": 56.129,
    "s": 14.286,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5733,
    "c": 0.0424,
    "h": 104.4
  },
  "luminance": 0.18994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C7A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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