#7E8066#7E8066

#7E8066 is a mid, muted yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.038 H 111.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7E8066
RGBrgb(126, 128, 102)
HSLhsl(65, 11%, 45%)
HSVhsv(65, 20%, 50%)
CMYKcmyk(1.6%, 0%, 20.3%, 49.8%)
CIE-LABlab(52.77, -5.49, 13.90)
CIE-LCHlch(52.77, 14.95, 111.55°)
OKLaboklab(59.09% -0.0137 0.0355)
OKLCHoklch(59.09% 0.038 111.1)
XYZxyz(18.7215, 20.8334, 15.6028)
Luminance0.2083 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8066 #686680
analogous
#807566 #7E8066 #718066
triadic
#7E8066 #667E80 #80667E
tetradic
#7E8066 #668075 #686680 #806671
square
#7E8066 #668075 #686680 #806671
split-complementary
#7E8066 #667180 #756680
monochromatic
#3B3C30 #5C5E4B #7E8066 #9C9E85 #B8B9A7

Accessibility & contrast

On white

4.06
#7E8066 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7E8066 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8066
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8066#FFFFFF#000000##000000
##7E80661.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#847D64
Deuteranopia (green-blind)
#847E67
Tritanopia (blue-blind)
#827D79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e8066;
/* rgb */ color: rgb(126, 128, 102);
/* oklch */ color: oklch(59.1% 0.038 111.1);
Tailwind
colors: {
  custom: {
    50: '#a3a491',
    500: '#7e8066',
    950: '#000000',
  },
}
SCSS
$custom: #7e8066;
$custom-light: #a3a491;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8066",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 102
  },
  "hsl": {
    "h": 64.615,
    "s": 11.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.59086,
    "c": 0.0381,
    "h": 111.1
  },
  "luminance": 0.20833
}

Semantic roles & 50–950 ramp

primary
#7E8066
secondary
#9B99A8
accent
#74B479
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#0F0F0C
muted
#7F7F7D

Preview Lab

Preview with #7E8066

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

Preview Lab → · Contrast checker → · Palette generator →

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