#7D7D5A#7D7D5A

#7D7D5A is a mid, muted yellow. Relative luminance 0.198; OKLCH L 58.0% C 0.051 H 107.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7D7D5A
RGBrgb(125, 125, 90)
HSLhsl(60, 16%, 42%)
HSVhsv(60, 28%, 49%)
CMYKcmyk(0%, 0%, 28%, 51%)
CIE-LABlab(51.57, -6.07, 19.15)
CIE-LCHlch(51.57, 20.09, 107.58°)
OKLaboklab(58.04% -0.0155 0.0481)
OKLCHoklch(58.04% 0.051 107.9)
XYZxyz(17.6366, 19.7656, 12.5569)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D5A #5A5A7D
analogous
#7D6C5A #7D7D5A #6C7D5A
triadic
#7D7D5A #5A7D7D #7D5A7D
tetradic
#7D7D5A #5A7D6C #5A5A7D #7D5A6C
square
#7D7D5A #5A7D6C #5A5A7D #7D5A6C
split-complementary
#7D7D5A #5A6C7D #6C5A7D
monochromatic
#363627 #595940 #7D7D5A #9D9D77 #B7B79B

Accessibility & contrast

On white

4.24
#7D7D5A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7D7D5A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7D5A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7D5A#FFFFFF#000000##000000
##7D7D5A1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#837A58
Deuteranopia (green-blind)
#837C5B
Tritanopia (blue-blind)
#827974
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d7d5a;
/* rgb */ color: rgb(125, 125, 90);
/* oklch */ color: oklch(58.0% 0.051 107.9);
Tailwind
colors: {
  custom: {
    50: '#a3a289',
    500: '#7d7d5a',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d5a;
$custom-light: #a3a289;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d5a",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 90
  },
  "hsl": {
    "h": 60,
    "s": 16.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58036,
    "c": 0.05056,
    "h": 107.9
  },
  "luminance": 0.19765
}

Semantic roles & 50–950 ramp

primary
#7D7D5A
secondary
#8E8EA5
accent
#6FB96F
background
#FAF9F8
surface
#F4F2F0
border
#CECCCB
text
#0F0F0B
muted
#7F7E7C

Preview Lab

Preview with #7D7D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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