#7E806C#7E806C

#7E806C is a mid, muted yellow. Relative luminance 0.210; OKLCH L 59.2% C 0.030 H 111.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7E806C
RGBrgb(126, 128, 108)
HSLhsl(66, 8%, 46%)
HSVhsv(66, 16%, 50%)
CMYKcmyk(1.6%, 0%, 15.6%, 49.8%)
CIE-LABlab(52.90, -4.49, 10.63)
CIE-LCHlch(52.90, 11.53, 112.89°)
OKLaboklab(59.24% -0.011 0.0274)
OKLCHoklch(59.24% 0.03 111.9)
XYZxyz(19.0299, 20.9568, 17.2270)
Luminance0.2096 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E806C #6E6C80
analogous
#80786C #7E806C #74806C
triadic
#7E806C #6C7E80 #806C7E
tetradic
#7E806C #6C8078 #6E6C80 #806C74
square
#7E806C #6C8078 #6E6C80 #806C74
split-complementary
#7E806C #6C7480 #786C80
monochromatic
#3D3E34 #5D5F50 #7E806C #9C9E8C #B8BAAD

Accessibility & contrast

On white

4.05
#7E806C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#7E806C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E806C
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E806C#FFFFFF#000000##000000
##7E806C1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837E6B
Deuteranopia (green-blind)
#837F6D
Tritanopia (blue-blind)
#817D7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e806c;
/* rgb */ color: rgb(126, 128, 108);
/* oklch */ color: oklch(59.2% 0.030 111.9);
Tailwind
colors: {
  custom: {
    50: '#a3a496',
    500: '#7e806c',
    950: '#000000',
  },
}
SCSS
$custom: #7e806c;
$custom-light: #a3a496;
$custom-dark: #000000;
JSON
{
  "hex": "#7e806c",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 108
  },
  "hsl": {
    "h": 66,
    "s": 8.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.59237,
    "c": 0.02955,
    "h": 111.9
  },
  "luminance": 0.20957
}

Semantic roles & 50–950 ramp

primary
#7E806C
secondary
#A09EA9
accent
#76B17C
background
#FAFAF9
surface
#F3F4F1
border
#CDCECB
text
#0F0F0D
muted
#7F7F7E

Preview Lab

Preview with #7E806C

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

Preview Lab → · Contrast checker → · Palette generator →

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