#7E793E#7E793E

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

Color values

HEX#7E793E
RGBrgb(126, 121, 62)
HSLhsl(55, 34%, 37%)
HSVhsv(55, 51%, 49%)
CMYKcmyk(0%, 4%, 50.8%, 50.6%)
CIE-LABlab(50.05, -6.83, 32.77)
CIE-LCHlch(50.05, 33.48, 101.77°)
OKLaboklab(56.7% -0.0199 0.0779)
OKLCHoklch(56.7% 0.08 104.3)
XYZxyz(16.3115, 18.4587, 7.2601)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E793E #3E437E
analogous
#7E593E #7E793E #637E3E
triadic
#7E793E #3E7E79 #793E7E
tetradic
#7E793E #3E7E59 #3E437E #7E3E63
square
#7E793E #3E7E59 #3E437E #7E3E63
split-complementary
#7E793E #3E637E #593E7E
monochromatic
#2C2A16 #55522A #7E793E #A7A052 #BDB879

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E793E#FFFFFF#000000##000000
##7E793E1.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)
#827539
Deuteranopia (green-blind)
#847841
Tritanopia (blue-blind)
#86726B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e793e;
/* rgb */ color: rgb(126, 121, 62);
/* oklch */ color: oklch(56.7% 0.080 104.3);
Tailwind
colors: {
  custom: {
    50: '#a59f75',
    500: '#7e793e',
    950: '#000000',
  },
}
SCSS
$custom: #7e793e;
$custom-light: #a59f75;
$custom-dark: #000000;
JSON
{
  "hex": "#7e793e",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 62
  },
  "hsl": {
    "h": 55.313,
    "s": 34.043,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56701,
    "c": 0.08039,
    "h": 104.3
  },
  "luminance": 0.18458
}

Semantic roles & 50–950 ramp

primary
#7E793E
secondary
#7075A7
accent
#66CA5E
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #7E793E

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

Preview Lab → · Contrast checker → · Palette generator →

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