#7D7966#7D7966

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

Color values

HEX#7D7966
RGBrgb(125, 121, 102)
HSLhsl(50, 10%, 45%)
HSVhsv(50, 18%, 49%)
CMYKcmyk(0%, 3.2%, 18.4%, 51%)
CIE-LABlab(50.68, -1.93, 10.98)
CIE-LCHlch(50.68, 11.15, 99.95°)
OKLaboklab(57.42% -0.0037 0.0283)
OKLCHoklch(57.42% 0.029 97.4)
XYZxyz(17.6930, 18.9943, 15.3020)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7966 #666A7D
analogous
#7D6E66 #7D7966 #767D66
triadic
#7D7966 #667D79 #79667D
tetradic
#7D7966 #667D6E #666A7D #7D6676
square
#7D7966 #667D6E #666A7D #7D6676
split-complementary
#7D7966 #66767D #6E667D
monochromatic
#3A382F #5B584B #7D7966 #9B9785 #B7B4A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7966#FFFFFF#000000##000000
##7D79661.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)
#7D7865
Deuteranopia (green-blind)
#7E7967
Tritanopia (blue-blind)
#817674
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7966;
/* rgb */ color: rgb(125, 121, 102);
/* oklch */ color: oklch(57.4% 0.029 97.4);
Tailwind
colors: {
  custom: {
    50: '#a29f91',
    500: '#7d7966',
    950: '#000000',
  },
}
SCSS
$custom: #7d7966;
$custom-light: #a29f91;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7966",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 102
  },
  "hsl": {
    "h": 49.565,
    "s": 10.132,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57416,
    "c": 0.02853,
    "h": 97.4
  },
  "luminance": 0.18994
}

Semantic roles & 50–950 ramp

primary
#7D7966
secondary
#999BA6
accent
#80B375
background
#FAF9F8
surface
#F3F2F0
border
#CDCCCB
text
#0F0E0C
muted
#7F7E7D

Preview Lab

Preview with #7D7966

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

Preview Lab → · Contrast checker → · Palette generator →

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