#797352#797352

#797352 is a mid, muted yellow. Relative luminance 0.169; OKLCH L 55.2% C 0.049 H 99.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#797352
RGBrgb(121, 115, 82)
HSLhsl(51, 19%, 40%)
HSVhsv(51, 32%, 47%)
CMYKcmyk(0%, 5%, 32.2%, 52.5%)
CIE-LABlab(48.18, -3.24, 19.14)
CIE-LCHlch(48.18, 19.41, 99.59°)
OKLaboklab(55.22% -0.0076 0.0479)
OKLCHoklch(55.22% 0.049 99.1)
XYZxyz(15.5390, 16.9360, 10.4314)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797352 #525879
analogous
#795F52 #797352 #6C7952
triadic
#797352 #527973 #735279
tetradic
#797352 #52795F #525879 #79526C
square
#797352 #52795F #525879 #79526C
split-complementary
#797352 #526C79 #5F5279
monochromatic
#302E21 #555039 #797352 #9C946C #B4AF91

Accessibility & contrast

On white

4.79
#797352 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #797352
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797352#FFFFFF#000000##FFFFFF
##7973521.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797150
Deuteranopia (green-blind)
#7B7353
Tritanopia (blue-blind)
#7F6E6A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797352;
/* rgb */ color: rgb(121, 115, 82);
/* oklch */ color: oklch(55.2% 0.049 99.1);
Tailwind
colors: {
  custom: {
    50: '#a09b83',
    500: '#797352',
    950: '#000000',
  },
}
SCSS
$custom: #797352;
$custom-light: #a09b83;
$custom-dark: #000000;
JSON
{
  "hex": "#797352",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 82
  },
  "hsl": {
    "h": 50.769,
    "s": 19.212,
    "l": 39.804
  },
  "oklch": {
    "l": 0.55215,
    "c": 0.04852,
    "h": 99.1
  },
  "luminance": 0.16936
}

Semantic roles & 50–950 ramp

primary
#797352
secondary
#8589A2
accent
#78BC6C
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #797352

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

Preview Lab → · Contrast checker → · Palette generator →

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