#7E8068#7E8068

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

Color values

HEX#7E8068
RGBrgb(126, 128, 104)
HSLhsl(65, 10%, 45%)
HSVhsv(65, 19%, 50%)
CMYKcmyk(1.6%, 0%, 18.8%, 49.8%)
CIE-LABlab(52.81, -5.16, 12.81)
CIE-LCHlch(52.81, 13.81, 111.95°)
OKLaboklab(59.14% -0.0128 0.0329)
OKLCHoklch(59.14% 0.035 111.3)
XYZxyz(18.8218, 20.8736, 16.1315)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8068 #6A6880
analogous
#807668 #7E8068 #728068
triadic
#7E8068 #687E80 #80687E
tetradic
#7E8068 #688076 #6A6880 #806872
square
#7E8068 #688076 #6A6880 #806872
split-complementary
#7E8068 #687280 #766880
monochromatic
#3C3C31 #5D5E4D #7E8068 #9C9E87 #B8B9A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E8068#FFFFFF#000000##000000
##7E80681.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)
#847E67
Deuteranopia (green-blind)
#847E69
Tritanopia (blue-blind)
#817D79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e8068;
/* rgb */ color: rgb(126, 128, 104);
/* oklch */ color: oklch(59.1% 0.035 111.3);
Tailwind
colors: {
  custom: {
    50: '#a3a493',
    500: '#7e8068',
    950: '#000000',
  },
}
SCSS
$custom: #7e8068;
$custom-light: #a3a493;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8068",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 104
  },
  "hsl": {
    "h": 65,
    "s": 10.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.59135,
    "c": 0.03527,
    "h": 111.3
  },
  "luminance": 0.20873
}

Semantic roles & 50–950 ramp

primary
#7E8068
secondary
#9C9BA9
accent
#75B37A
background
#FAFAF9
surface
#F3F4F1
border
#CDCECB
text
#0F0F0D
muted
#7F7F7E

Preview Lab

Preview with #7E8068

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

Preview Lab → · Contrast checker → · Palette generator →

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