#7E785E#7E785E

#7E785E is a mid, muted yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.039 H 96.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7E785E
RGBrgb(126, 120, 94)
HSLhsl(49, 15%, 43%)
HSVhsv(49, 25%, 49%)
CMYKcmyk(0%, 4.8%, 25.4%, 50.6%)
CIE-LABlab(50.31, -2.22, 15.14)
CIE-LCHlch(50.31, 15.30, 98.35°)
OKLaboklab(57.08% -0.0044 0.0385)
OKLCHoklch(57.08% 0.039 96.6)
XYZxyz(17.3411, 18.6771, 13.2790)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E785E #5E647E
analogous
#7E685E #7E785E #747E5E
triadic
#7E785E #5E7E78 #785E7E
tetradic
#7E785E #5E7E68 #5E647E #7E5E74
square
#7E785E #5E7E68 #5E647E #7E5E74
split-complementary
#7E785E #5E747E #685E7E
monochromatic
#38352A #5B5744 #7E785E #9D977C #B7B39F

Accessibility & contrast

On white

4.43
#7E785E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7E785E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E785E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E785E#FFFFFF#000000##000000
##7E785E1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D765C
Deuteranopia (green-blind)
#7F795F
Tritanopia (blue-blind)
#837471
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e785e;
/* rgb */ color: rgb(126, 120, 94);
/* oklch */ color: oklch(57.1% 0.039 96.6);
Tailwind
colors: {
  custom: {
    50: '#a39e8b',
    500: '#7e785e',
    950: '#000000',
  },
}
SCSS
$custom: #7e785e;
$custom-light: #a39e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e785e",
  "rgb": {
    "r": 126,
    "g": 120,
    "b": 94
  },
  "hsl": {
    "h": 48.75,
    "s": 14.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.57085,
    "c": 0.03875,
    "h": 96.6
  },
  "luminance": 0.18677
}

Semantic roles & 50–950 ramp

primary
#7E785E
secondary
#9296A6
accent
#7EB770
background
#FAF9F8
surface
#F4F2F0
border
#CECCCB
text
#0F0E0C
muted
#7F7E7D

Preview Lab

Preview with #7E785E

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

Preview Lab → · Contrast checker → · Palette generator →

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