#797750#797750

#797750 is a mid, muted yellow. Relative luminance 0.178; OKLCH L 56.1% C 0.056 H 105.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#797750
RGBrgb(121, 119, 80)
HSLhsl(57, 20%, 39%)
HSVhsv(57, 34%, 47%)
CMYKcmyk(0%, 1.7%, 33.9%, 52.5%)
CIE-LABlab(49.30, -5.79, 21.78)
CIE-LCHlch(49.30, 22.53, 104.88°)
OKLaboklab(56.09% -0.0151 0.0541)
OKLCHoklch(56.09% 0.056 105.6)
XYZxyz(15.9301, 17.8381, 10.1918)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797750 #505279
analogous
#796350 #797750 #677950
triadic
#797750 #507977 #775079
tetradic
#797750 #507963 #505279 #795067
square
#797750 #507963 #505279 #795067
split-complementary
#797750 #506779 #635079
monochromatic
#2F2F1F #545338 #797750 #9C9A6A #B5B38F

Accessibility & contrast

On white

4.60
#797750 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#797750 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797750
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797750#FFFFFF#000000##FFFFFF
##7977501.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744D
Deuteranopia (green-blind)
#7F7652
Tritanopia (blue-blind)
#7F726D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797750;
/* rgb */ color: rgb(121, 119, 80);
/* oklch */ color: oklch(56.1% 0.056 105.6);
Tailwind
colors: {
  custom: {
    50: '#a09e81',
    500: '#797750',
    950: '#000000',
  },
}
SCSS
$custom: #797750;
$custom-light: #a09e81;
$custom-dark: #000000;
JSON
{
  "hex": "#797750",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 80
  },
  "hsl": {
    "h": 57.073,
    "s": 20.398,
    "l": 39.412
  },
  "oklch": {
    "l": 0.56089,
    "c": 0.05613,
    "h": 105.6
  },
  "luminance": 0.17838
}

Semantic roles & 50–950 ramp

primary
#797750
secondary
#8384A2
accent
#6FBD6B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #797750

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

Preview Lab → · Contrast checker → · Palette generator →

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