#797353#797353

#797353 is a mid, muted yellow. Relative luminance 0.170; OKLCH L 55.2% C 0.047 H 98.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#797353
RGBrgb(121, 115, 83)
HSLhsl(51, 19%, 40%)
HSVhsv(51, 31%, 47%)
CMYKcmyk(0%, 5%, 31.4%, 52.5%)
CIE-LABlab(48.20, -3.09, 18.59)
CIE-LCHlch(48.20, 18.84, 99.45°)
OKLaboklab(55.24% -0.0072 0.0466)
OKLCHoklch(55.24% 0.047 98.8)
XYZxyz(15.5774, 16.9513, 10.6333)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797353 #535979
analogous
#796053 #797353 #6C7953
triadic
#797353 #537973 #735379
tetradic
#797353 #537960 #535979 #79536C
square
#797353 #537960 #535979 #79536C
split-complementary
#797353 #536C79 #605379
monochromatic
#302E21 #55503A #797353 #9B946E #B4AF92

Accessibility & contrast

On white

4.78
#797353 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#797353 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797353
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797353#FFFFFF#000000##FFFFFF
##7973531.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797151
Deuteranopia (green-blind)
#7B7354
Tritanopia (blue-blind)
#7F6E6B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797353;
/* rgb */ color: rgb(121, 115, 83);
/* oklch */ color: oklch(55.2% 0.047 98.8);
Tailwind
colors: {
  custom: {
    50: '#a09b83',
    500: '#797353',
    950: '#000000',
  },
}
SCSS
$custom: #797353;
$custom-light: #a09b83;
$custom-dark: #000000;
JSON
{
  "hex": "#797353",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 83
  },
  "hsl": {
    "h": 50.526,
    "s": 18.627,
    "l": 40
  },
  "oklch": {
    "l": 0.55236,
    "c": 0.04717,
    "h": 98.8
  },
  "luminance": 0.16951
}

Semantic roles & 50–950 ramp

primary
#797353
secondary
#868AA2
accent
#79BB6D
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #797353

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

Preview Lab → · Contrast checker → · Palette generator →

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