#7E7A5E#7E7A5E

#7E7A5E is a mid, muted yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.041 H 100.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7E7A5E
RGBrgb(126, 122, 94)
HSLhsl(53, 15%, 43%)
HSVhsv(53, 25%, 49%)
CMYKcmyk(0%, 3.2%, 25.4%, 50.6%)
CIE-LABlab(50.88, -3.36, 15.92)
CIE-LCHlch(50.88, 16.27, 101.92°)
OKLaboklab(57.54% -0.0077 0.0404)
OKLCHoklch(57.54% 0.041 100.8)
XYZxyz(17.5841, 19.1632, 13.3600)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7A5E #5E627E
analogous
#7E6A5E #7E7A5E #727E5E
triadic
#7E7A5E #5E7E7A #7A5E7E
tetradic
#7E7A5E #5E7E6A #5E627E #7E5E72
square
#7E7A5E #5E7E6A #5E627E #7E5E72
split-complementary
#7E7A5E #5E727E #6A5E7E
monochromatic
#38362A #5B5844 #7E7A5E #9D997C #B7B49F

Accessibility & contrast

On white

4.35
#7E7A5E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7E7A5E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7A5E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7A5E#FFFFFF#000000##000000
##7E7A5E1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F785C
Deuteranopia (green-blind)
#817A5F
Tritanopia (blue-blind)
#837672
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e7a5e;
/* rgb */ color: rgb(126, 122, 94);
/* oklch */ color: oklch(57.5% 0.041 100.8);
Tailwind
colors: {
  custom: {
    50: '#a3a08b',
    500: '#7e7a5e',
    950: '#000000',
  },
}
SCSS
$custom: #7e7a5e;
$custom-light: #a3a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7a5e",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 94
  },
  "hsl": {
    "h": 52.5,
    "s": 14.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.57535,
    "c": 0.04113,
    "h": 100.8
  },
  "luminance": 0.19163
}

Semantic roles & 50–950 ramp

primary
#7E7A5E
secondary
#9294A6
accent
#79B770
background
#FAF9F8
surface
#F4F2F0
border
#CECCCB
text
#0F0E0C
muted
#7F7E7D

Preview Lab

Preview with #7E7A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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