#7B793C#7B793C

#7B793C is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.083 H 107.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7B793C
RGBrgb(123, 121, 60)
HSLhsl(58, 34%, 36%)
HSVhsv(58, 51%, 48%)
CMYKcmyk(0%, 1.6%, 51.2%, 51.8%)
CIE-LABlab(49.75, -8.37, 33.41)
CIE-LCHlch(49.75, 34.45, 104.06°)
OKLaboklab(56.39% -0.0243 0.0792)
OKLCHoklch(56.39% 0.083 107.1)
XYZxyz(15.8217, 18.2124, 6.9560)
Luminance0.1821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B793C #3C3E7B
analogous
#7B593C #7B793C #5D7B3C
triadic
#7B793C #3C7B79 #793C7B
tetradic
#7B793C #3C7B59 #3C3E7B #7B3C5D
square
#7B793C #3C7B59 #3C3E7B #7B3C5D
split-complementary
#7B793C #3C5D7B #593C7B
monochromatic
#292814 #525128 #7B793C #A4A150 #BCBA75

Accessibility & contrast

On white

4.52
#7B793C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7B793C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B793C
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B793C#FFFFFF#000000##000000
##7B793C1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#827537
Deuteranopia (green-blind)
#83783F
Tritanopia (blue-blind)
#83726B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b793c;
/* rgb */ color: rgb(123, 121, 60);
/* oklch */ color: oklch(56.4% 0.083 107.1);
Tailwind
colors: {
  custom: {
    50: '#a39f73',
    500: '#7b793c',
    950: '#000000',
  },
}
SCSS
$custom: #7b793c;
$custom-light: #a39f73;
$custom-dark: #000000;
JSON
{
  "hex": "#7b793c",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 60
  },
  "hsl": {
    "h": 58.095,
    "s": 34.426,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56393,
    "c": 0.08281,
    "h": 107.1
  },
  "luminance": 0.18212
}

Semantic roles & 50–950 ramp

primary
#7B793C
secondary
#6D6FA6
accent
#61CB5D
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #7B793C

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

Preview Lab → · Contrast checker → · Palette generator →

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