#7E806A#7E806A

#7E806A is a mid, muted yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.032 H 111.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7E806A
RGBrgb(126, 128, 106)
HSLhsl(65, 9%, 46%)
HSVhsv(65, 17%, 50%)
CMYKcmyk(1.6%, 0%, 17.2%, 49.8%)
CIE-LABlab(52.86, -4.83, 11.72)
CIE-LCHlch(52.86, 12.67, 112.39°)
OKLaboklab(59.19% -0.0119 0.0301)
OKLCHoklch(59.19% 0.032 111.6)
XYZxyz(18.9246, 20.9147, 16.6728)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E806A #6C6A80
analogous
#80776A #7E806A #73806A
triadic
#7E806A #6A7E80 #806A7E
tetradic
#7E806A #6A8077 #6C6A80 #806A73
square
#7E806A #6A8077 #6C6A80 #806A73
split-complementary
#7E806A #6A7380 #776A80
monochromatic
#3C3D33 #5D5F4E #7E806A #9C9E8A #B8B9AB

Accessibility & contrast

On white

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

On black

5.18
#7E806A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E806A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E806A#FFFFFF#000000##000000
##7E806A1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#847E69
Deuteranopia (green-blind)
#847F6B
Tritanopia (blue-blind)
#817D7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e806a;
/* rgb */ color: rgb(126, 128, 106);
/* oklch */ color: oklch(59.2% 0.032 111.6);
Tailwind
colors: {
  custom: {
    50: '#a3a494',
    500: '#7e806a',
    950: '#000000',
  },
}
SCSS
$custom: #7e806a;
$custom-light: #a3a494;
$custom-dark: #000000;
JSON
{
  "hex": "#7e806a",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 106
  },
  "hsl": {
    "h": 65.455,
    "s": 9.402,
    "l": 45.882
  },
  "oklch": {
    "l": 0.59186,
    "c": 0.03242,
    "h": 111.6
  },
  "luminance": 0.20915
}

Semantic roles & 50–950 ramp

primary
#7E806A
secondary
#9E9DA9
accent
#75B27B
background
#FAFAF9
surface
#F3F4F1
border
#CDCECB
text
#0F0F0D
muted
#7F7F7E

Preview Lab

Preview with #7E806A

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

Preview Lab → · Contrast checker → · Palette generator →

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