#7E793C#7E793C

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

Color values

HEX#7E793C
RGBrgb(126, 121, 60)
HSLhsl(55, 35%, 36%)
HSVhsv(55, 52%, 49%)
CMYKcmyk(0%, 4%, 52.4%, 50.6%)
CIE-LABlab(50.02, -7.03, 33.80)
CIE-LCHlch(50.02, 34.52, 101.74°)
OKLaboklab(56.67% -0.0207 0.0799)
OKLCHoklch(56.67% 0.083 104.5)
XYZxyz(16.2576, 18.4371, 6.9764)
Luminance0.1844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E793C #3C417E
analogous
#7E583C #7E793C #627E3C
triadic
#7E793C #3C7E79 #793C7E
tetradic
#7E793C #3C7E58 #3C417E #7E3C62
square
#7E793C #3C7E58 #3C417E #7E3C62
split-complementary
#7E793C #3C627E #583C7E
monochromatic
#2B2915 #555128 #7E793C #A7A150 #BEB976

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E793C#FFFFFF#000000##000000
##7E793C1.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)
#827536
Deuteranopia (green-blind)
#84783F
Tritanopia (blue-blind)
#86726B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e793c;
/* rgb */ color: rgb(126, 121, 60);
/* oklch */ color: oklch(56.7% 0.083 104.5);
Tailwind
colors: {
  custom: {
    50: '#a59f73',
    500: '#7e793c',
    950: '#000000',
  },
}
SCSS
$custom: #7e793c;
$custom-light: #a59f73;
$custom-dark: #000000;
JSON
{
  "hex": "#7e793c",
  "rgb": {
    "r": 126,
    "g": 121,
    "b": 60
  },
  "hsl": {
    "h": 55.455,
    "s": 35.484,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56672,
    "c": 0.08258,
    "h": 104.5
  },
  "luminance": 0.18437
}

Semantic roles & 50–950 ramp

primary
#7E793C
secondary
#6E72A8
accent
#65CC5C
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #7E793C

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

Preview Lab → · Contrast checker → · Palette generator →

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