#7E793A#7E793A

#7E793A is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.085 H 104.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E793A
RGBrgb(126, 121, 58)
HSLhsl(56, 37%, 36%)
HSVhsv(56, 54%, 49%)
CMYKcmyk(0%, 4%, 54%, 50.6%)
CIE-LABlab(50.00, -7.22, 34.82)
CIE-LCHlch(50.00, 35.56, 101.71°)
OKLaboklab(56.64% -0.0215 0.082)
OKLCHoklch(56.64% 0.085 104.7)
XYZxyz(16.2057, 18.4164, 6.7032)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E793A #3A3F7E
analogous
#7E573A #7E793A #617E3A
triadic
#7E793A #3A7E79 #793A7E
tetradic
#7E793A #3A7E57 #3A3F7E #7E3A61
square
#7E793A #3A7E57 #3A3F7E #7E3A61
split-complementary
#7E793A #3A617E #573A7E
monochromatic
#2A2913 #545127 #7E793A #A8A14D #BFB974

Accessibility & contrast

On white

4.48
#7E793A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7E793A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E793A
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E793A#FFFFFF#000000##000000
##7E793A1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#827534
Deuteranopia (green-blind)
#84783D
Tritanopia (blue-blind)
#86726B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e793a;
/* rgb */ color: rgb(126, 121, 58);
/* oklch */ color: oklch(56.6% 0.085 104.7);
Tailwind
colors: {
  custom: {
    50: '#a59f72',
    500: '#7e793a',
    950: '#000000',
  },
}
SCSS
$custom: #7e793a;
$custom-light: #a59f72;
$custom-dark: #000000;
JSON
{
  "hex": "#7e793a",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 58
  },
  "hsl": {
    "h": 55.588,
    "s": 36.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56644,
    "c": 0.08472,
    "h": 104.7
  },
  "luminance": 0.18416
}

Semantic roles & 50–950 ramp

primary
#7E793A
secondary
#6C70A8
accent
#63CD5B
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #7E793A

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

Preview Lab → · Contrast checker → · Palette generator →

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