#7E7E4E#7E7E4E

#7E7E4E is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.1% C 0.068 H 108.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7E7E4E
RGBrgb(126, 126, 78)
HSLhsl(60, 24%, 40%)
HSVhsv(60, 38%, 49%)
CMYKcmyk(0%, 0%, 38.1%, 50.6%)
CIE-LABlab(51.73, -7.83, 26.16)
CIE-LCHlch(51.73, 27.30, 106.66°)
OKLaboklab(58.12% -0.0212 0.0641)
OKLCHoklch(58.12% 0.068 108.3)
XYZxyz(17.4404, 19.9077, 10.1301)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7E4E #4E4E7E
analogous
#7E664E #7E7E4E #667E4E
triadic
#7E7E4E #4E7E7E #7E4E7E
tetradic
#7E7E4E #4E7E66 #4E4E7E #7E4E66
square
#7E7E4E #4E7E66 #4E4E7E #7E4E66
split-complementary
#7E7E4E #4E667E #664E7E
monochromatic
#32321F #585837 #7E7E4E #A1A168 #B9B98E

Accessibility & contrast

On white

4.22
#7E7E4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7E7E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7E4E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7E4E#FFFFFF#000000##000000
##7E7E4E1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857A4A
Deuteranopia (green-blind)
#867C50
Tritanopia (blue-blind)
#847872
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e7e4e;
/* rgb */ color: rgb(126, 126, 78);
/* oklch */ color: oklch(58.1% 0.068 108.3);
Tailwind
colors: {
  custom: {
    50: '#a4a380',
    500: '#7e7e4e',
    950: '#000000',
  },
}
SCSS
$custom: #7e7e4e;
$custom-light: #a4a380;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7e4e",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 78
  },
  "hsl": {
    "h": 60,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.58116,
    "c": 0.06754,
    "h": 108.3
  },
  "luminance": 0.19907
}

Semantic roles & 50–950 ramp

primary
#7E7E4E
secondary
#8282A6
accent
#68C068
background
#FAFAF7
surface
#F4F3EE
border
#CECDC9
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #7E7E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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