#7E7D5A#7E7D5A

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

Color values

HEX#7E7D5A
RGBrgb(126, 125, 90)
HSLhsl(58, 17%, 42%)
HSVhsv(58, 29%, 49%)
CMYKcmyk(0%, 0.8%, 28.6%, 50.6%)
CIE-LABlab(51.66, -5.65, 19.28)
CIE-LCHlch(51.66, 20.09, 106.34°)
OKLaboklab(58.13% -0.0143 0.0484)
OKLCHoklch(58.13% 0.051 106.5)
XYZxyz(17.7833, 19.8413, 12.5638)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7D5A #5A5B7E
analogous
#7E6B5A #7E7D5A #6D7E5A
triadic
#7E7D5A #5A7E7D #7D5A7E
tetradic
#7E7D5A #5A7E6B #5A5B7E #7E5A6D
square
#7E7D5A #5A7E6B #5A5B7E #7E5A6D
split-complementary
#7E7D5A #5A6D7E #6B5A7E
monochromatic
#373627 #5A5A40 #7E7D5A #9E9D77 #B8B79B

Accessibility & contrast

On white

4.23
#7E7D5A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7E7D5A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7D5A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7D5A#FFFFFF#000000##000000
##7E7D5A1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e7d5a;
/* rgb */ color: rgb(126, 125, 90);
/* oklch */ color: oklch(58.1% 0.051 106.5);
Tailwind
colors: {
  custom: {
    50: '#a4a289',
    500: '#7e7d5a',
    950: '#000000',
  },
}
SCSS
$custom: #7e7d5a;
$custom-light: #a4a289;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7d5a",
  "rgb": {
    "r": 126,
    "g": 125,
    "b": 90
  },
  "hsl": {
    "h": 58.333,
    "s": 16.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.58126,
    "c": 0.05051,
    "h": 106.5
  },
  "luminance": 0.19841
}

Semantic roles & 50–950 ramp

primary
#7E7D5A
secondary
#8E8FA6
accent
#70B96E
background
#FAF9F8
surface
#F4F2F0
border
#CECCCB
text
#0F0F0B
muted
#7F7E7C

Preview Lab

Preview with #7E7D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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