#7E7C64#7E7C64

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

Color values

HEX#7E7C64
RGBrgb(126, 124, 100)
HSLhsl(55, 12%, 44%)
HSVhsv(55, 21%, 49%)
CMYKcmyk(0%, 1.6%, 20.6%, 50.6%)
CIE-LABlab(51.58, -3.56, 13.41)
CIE-LCHlch(51.58, 13.88, 104.85°)
OKLaboklab(58.13% -0.0082 0.0343)
OKLCHoklch(58.13% 0.035 103.5)
XYZxyz(18.1120, 19.7713, 14.9162)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7C64 #64667E
analogous
#7E6F64 #7E7C64 #737E64
triadic
#7E7C64 #647E7C #7C647E
tetradic
#7E7C64 #647E6F #64667E #7E6473
square
#7E7C64 #647E6F #64667E #7E6473
split-complementary
#7E7C64 #64737E #6F647E
monochromatic
#3A392E #5C5A49 #7E7C64 #9C9A83 #B7B6A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7C64#FFFFFF#000000##000000
##7E7C641.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)
#817A63
Deuteranopia (green-blind)
#817C65
Tritanopia (blue-blind)
#827975
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e7c64;
/* rgb */ color: rgb(126, 124, 100);
/* oklch */ color: oklch(58.1% 0.035 103.5);
Tailwind
colors: {
  custom: {
    50: '#a3a190',
    500: '#7e7c64',
    950: '#000000',
  },
}
SCSS
$custom: #7e7c64;
$custom-light: #a3a190;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7c64",
  "rgb": {
    "r": 126,
    "g": 124,
    "b": 100
  },
  "hsl": {
    "h": 55.385,
    "s": 11.504,
    "l": 44.314
  },
  "oklch": {
    "l": 0.58131,
    "c": 0.03528,
    "h": 103.5
  },
  "luminance": 0.19771
}

Semantic roles & 50–950 ramp

primary
#7E7C64
secondary
#9798A7
accent
#78B473
background
#FAF9F8
surface
#F4F2F0
border
#CECCCB
text
#0F0F0C
muted
#7F7E7D

Preview Lab

Preview with #7E7C64

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

Preview Lab → · Contrast checker → · Palette generator →

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