#7E7E64#7E7E64

#7E7E64 is a mid, muted yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.038 H 107.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7E7E64
RGBrgb(126, 126, 100)
HSLhsl(60, 12%, 44%)
HSVhsv(60, 21%, 49%)
CMYKcmyk(0%, 0%, 20.6%, 50.6%)
CIE-LABlab(52.15, -4.69, 14.20)
CIE-LCHlch(52.15, 14.96, 108.26°)
OKLaboklab(58.58% -0.0114 0.0363)
OKLCHoklch(58.58% 0.038 107.5)
XYZxyz(18.3652, 20.2776, 15.0006)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7E64 #64647E
analogous
#7E7164 #7E7E64 #717E64
triadic
#7E7E64 #647E7E #7E647E
tetradic
#7E7E64 #647E71 #64647E #7E6471
square
#7E7E64 #647E71 #64647E #7E6471
split-complementary
#7E7E64 #64717E #71647E
monochromatic
#3A3A2E #5C5C49 #7E7E64 #9C9C83 #B7B7A5

Accessibility & contrast

On white

4.15
#7E7E64 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#7E7E64 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7E64
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7E64#FFFFFF#000000##000000
##7E7E641.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#837C62
Deuteranopia (green-blind)
#837D65
Tritanopia (blue-blind)
#827B77
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e7e64;
/* rgb */ color: rgb(126, 126, 100);
/* oklch */ color: oklch(58.6% 0.038 107.5);
Tailwind
colors: {
  custom: {
    50: '#a3a390',
    500: '#7e7e64',
    950: '#000000',
  },
}
SCSS
$custom: #7e7e64;
$custom-light: #a3a390;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7e64",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 100
  },
  "hsl": {
    "h": 60,
    "s": 11.504,
    "l": 44.314
  },
  "oklch": {
    "l": 0.58583,
    "c": 0.03802,
    "h": 107.5
  },
  "luminance": 0.20277
}

Semantic roles & 50–950 ramp

primary
#7E7E64
secondary
#9797A7
accent
#73B473
background
#FAFAF8
surface
#F4F3F0
border
#CECDCB
text
#0F0F0C
muted
#7F7F7D

Preview Lab

Preview with #7E7E64

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

Preview Lab → · Contrast checker → · Palette generator →

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