#7E793D#7E793D

#7E793D is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.7% C 0.081 H 104.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7E793D
RGBrgb(126, 121, 61)
HSLhsl(55, 35%, 37%)
HSVhsv(55, 52%, 49%)
CMYKcmyk(0%, 4%, 51.6%, 50.6%)
CIE-LABlab(50.03, -6.93, 33.29)
CIE-LCHlch(50.03, 34.00, 101.76°)
OKLaboklab(56.69% -0.0203 0.0789)
OKLCHoklch(56.69% 0.081 104.4)
XYZxyz(16.2843, 18.4478, 7.1169)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E793D #3D427E
analogous
#7E593D #7E793D #637E3D
triadic
#7E793D #3D7E79 #793D7E
tetradic
#7E793D #3D7E59 #3D427E #7E3D63
square
#7E793D #3D7E59 #3D427E #7E3D63
split-complementary
#7E793D #3D637E #593D7E
monochromatic
#2C2A15 #555129 #7E793D #A7A151 #BEB878

Accessibility & contrast

On white

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

On black

4.69
#7E793D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E793D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E793D#FFFFFF#000000##000000
##7E793D1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#827538
Deuteranopia (green-blind)
#847840
Tritanopia (blue-blind)
#86726B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e793d;
/* rgb */ color: rgb(126, 121, 61);
/* oklch */ color: oklch(56.7% 0.081 104.4);
Tailwind
colors: {
  custom: {
    50: '#a59f74',
    500: '#7e793d',
    950: '#000000',
  },
}
SCSS
$custom: #7e793d;
$custom-light: #a59f74;
$custom-dark: #000000;
JSON
{
  "hex": "#7e793d",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 61
  },
  "hsl": {
    "h": 55.385,
    "s": 34.759,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56686,
    "c": 0.08149,
    "h": 104.4
  },
  "luminance": 0.18447
}

Semantic roles & 50–950 ramp

primary
#7E793D
secondary
#6F74A8
accent
#65CB5D
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #7E793D

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

Preview Lab → · Contrast checker → · Palette generator →

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