#7D7C5F#7D7C5F

#7D7C5F is a mid, muted yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.042 H 106.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7D7C5F
RGBrgb(125, 124, 95)
HSLhsl(58, 14%, 43%)
HSVhsv(58, 24%, 49%)
CMYKcmyk(0%, 0.8%, 24%, 51%)
CIE-LABlab(51.38, -4.76, 16.02)
CIE-LCHlch(51.38, 16.71, 106.53°)
OKLaboklab(57.92% -0.0117 0.0407)
OKLCHoklch(57.92% 0.042 106)
XYZxyz(17.7306, 19.6017, 13.6737)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7C5F #5F607D
analogous
#7D6D5F #7D7C5F #6F7D5F
triadic
#7D7C5F #5F7D7C #7C5F7D
tetradic
#7D7C5F #5F7D6D #5F607D #7D5F6F
square
#7D7C5F #5F7D6D #5F607D #7D5F6F
split-complementary
#7D7C5F #5F6F7D #6D5F7D
monochromatic
#37372A #5A5A45 #7D7C5F #9C9B7D #B7B6A0

Accessibility & contrast

On white

4.27
#7D7C5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7D7C5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7C5F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7C5F#FFFFFF#000000##000000
##7D7C5F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#817A5D
Deuteranopia (green-blind)
#827B60
Tritanopia (blue-blind)
#827874
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7c5f;
/* rgb */ color: rgb(125, 124, 95);
/* oklch */ color: oklch(57.9% 0.042 106.0);
Tailwind
colors: {
  custom: {
    50: '#a3a18c',
    500: '#7d7c5f',
    950: '#000000',
  },
}
SCSS
$custom: #7d7c5f;
$custom-light: #a3a18c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7c5f",
  "rgb": {
    "r": 125,
    "g": 124,
    "b": 95
  },
  "hsl": {
    "h": 58,
    "s": 13.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.57921,
    "c": 0.0423,
    "h": 106
  },
  "luminance": 0.19602
}

Semantic roles & 50–950 ramp

primary
#7D7C5F
secondary
#9293A5
accent
#74B671
background
#FAF9F8
surface
#F3F2F0
border
#CDCCCB
text
#0F0F0C
muted
#7F7E7D

Preview Lab

Preview with #7D7C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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