#7E7A64#7E7A64

#7E7A64 is a mid, muted yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.033 H 98.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7E7A64
RGBrgb(126, 122, 100)
HSLhsl(51, 12%, 44%)
HSVhsv(51, 21%, 49%)
CMYKcmyk(0%, 3.2%, 20.6%, 50.6%)
CIE-LABlab(51.01, -2.42, 12.62)
CIE-LCHlch(51.01, 12.85, 100.85°)
OKLaboklab(57.68% -0.005 0.0323)
OKLCHoklch(57.68% 0.033 98.8)
XYZxyz(17.8639, 19.2751, 14.8335)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7A64 #64687E
analogous
#7E6D64 #7E7A64 #757E64
triadic
#7E7A64 #647E7A #7A647E
tetradic
#7E7A64 #647E6D #64687E #7E6475
square
#7E7A64 #647E6D #64687E #7E6475
split-complementary
#7E7A64 #64757E #6D647E
monochromatic
#3A382E #5C5949 #7E7A64 #9C9883 #B7B5A5

Accessibility & contrast

On white

4.33
#7E7A64 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#7E7A64 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7A64
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7A64#FFFFFF#000000##000000
##7E7A641.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7963
Deuteranopia (green-blind)
#807A65
Tritanopia (blue-blind)
#827774
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e7a64;
/* rgb */ color: rgb(126, 122, 100);
/* oklch */ color: oklch(57.7% 0.033 98.8);
Tailwind
colors: {
  custom: {
    50: '#a3a090',
    500: '#7e7a64',
    950: '#000000',
  },
}
SCSS
$custom: #7e7a64;
$custom-light: #a3a090;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7a64",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 100
  },
  "hsl": {
    "h": 50.769,
    "s": 11.504,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5768,
    "c": 0.03273,
    "h": 98.8
  },
  "luminance": 0.19275
}

Semantic roles & 50–950 ramp

primary
#7E7A64
secondary
#979AA7
accent
#7DB473
background
#FAF9F8
surface
#F4F2F0
border
#CECCCB
text
#0F0E0C
muted
#7F7E7D

Preview Lab

Preview with #7E7A64

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

Preview Lab → · Contrast checker → · Palette generator →

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