#797356#797356

#797356 is a mid, muted yellow. Relative luminance 0.170; OKLCH L 55.3% C 0.043 H 97.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#797356
RGBrgb(121, 115, 86)
HSLhsl(50, 17%, 41%)
HSVhsv(50, 29%, 47%)
CMYKcmyk(0%, 5%, 28.9%, 52.5%)
CIE-LABlab(48.26, -2.66, 16.92)
CIE-LCHlch(48.26, 17.13, 98.93°)
OKLaboklab(55.3% -0.0058 0.0427)
OKLCHoklch(55.3% 0.043 97.8)
XYZxyz(15.6957, 16.9986, 11.2565)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797356 #565C79
analogous
#796156 #797356 #6D7956
triadic
#797356 #567973 #735679
tetradic
#797356 #567961 #565C79 #79566D
square
#797356 #567961 #565C79 #79566D
split-complementary
#797356 #566D79 #615679
monochromatic
#312F23 #55513D #797356 #9B9472 #B4AF95

Accessibility & contrast

On white

4.77
#797356 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#797356 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797356
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797356#FFFFFF#000000##FFFFFF
##7973561.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797154
Deuteranopia (green-blind)
#7B7457
Tritanopia (blue-blind)
#7E6F6B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797356;
/* rgb */ color: rgb(121, 115, 86);
/* oklch */ color: oklch(55.3% 0.043 97.8);
Tailwind
colors: {
  custom: {
    50: '#a09b85',
    500: '#797356',
    950: '#000000',
  },
}
SCSS
$custom: #797356;
$custom-light: #a09b85;
$custom-dark: #000000;
JSON
{
  "hex": "#797356",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 86
  },
  "hsl": {
    "h": 49.714,
    "s": 16.908,
    "l": 40.588
  },
  "oklch": {
    "l": 0.55303,
    "c": 0.0431,
    "h": 97.8
  },
  "luminance": 0.16998
}

Semantic roles & 50–950 ramp

primary
#797356
secondary
#898DA2
accent
#7BBA6E
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0B
muted
#7E7E7C

Preview Lab

Preview with #797356

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

Preview Lab → · Contrast checker → · Palette generator →

#797356 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva