#797259#797259

#797259 is a mid, muted yellow. Relative luminance 0.168; OKLCH L 55.1% C 0.038 H 94.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#797259
RGBrgb(121, 114, 89)
HSLhsl(47, 15%, 41%)
HSVhsv(47, 26%, 47%)
CMYKcmyk(0%, 5.8%, 26.4%, 52.5%)
CIE-LABlab(48.03, -1.63, 14.87)
CIE-LCHlch(48.03, 14.95, 96.27°)
OKLaboklab(55.15% -0.0028 0.0378)
OKLCHoklch(55.15% 0.038 94.3)
XYZxyz(15.7057, 16.8212, 11.8687)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797259 #596079
analogous
#796259 #797259 #707959
triadic
#797259 #597972 #725979
tetradic
#797259 #597962 #596079 #795970
square
#797259 #597962 #596079 #795970
split-complementary
#797259 #597079 #625979
monochromatic
#323025 #56513F #797259 #9A9275 #B4AE99

Accessibility & contrast

On white

4.81
#797259 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#797259 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797259
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797259#FFFFFF#000000##FFFFFF
##7972591.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777157
Deuteranopia (green-blind)
#79735A
Tritanopia (blue-blind)
#7E6E6B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797259;
/* rgb */ color: rgb(121, 114, 89);
/* oklch */ color: oklch(55.1% 0.038 94.3);
Tailwind
colors: {
  custom: {
    50: '#a09a88',
    500: '#797259',
    950: '#000000',
  },
}
SCSS
$custom: #797259;
$custom-light: #a09a88;
$custom-dark: #000000;
JSON
{
  "hex": "#797259",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 89
  },
  "hsl": {
    "h": 46.875,
    "s": 15.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.55146,
    "c": 0.03787,
    "h": 94.3
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#797259
secondary
#8C91A2
accent
#80B870
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0B
muted
#7E7E7C

Preview Lab

Preview with #797259

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

Preview Lab → · Contrast checker → · Palette generator →

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