#797152#797152

#797152 is a mid, muted yellow. Relative luminance 0.165; OKLCH L 54.8% C 0.046 H 95.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#797152
RGBrgb(121, 113, 82)
HSLhsl(48, 19%, 40%)
HSVhsv(48, 32%, 47%)
CMYKcmyk(0%, 6.6%, 32.2%, 52.5%)
CIE-LABlab(47.60, -2.09, 18.37)
CIE-LCHlch(47.60, 18.49, 96.48°)
OKLaboklab(54.76% -0.0043 0.0461)
OKLCHoklch(54.76% 0.046 95.4)
XYZxyz(15.3134, 16.4848, 10.3562)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797152 #525A79
analogous
#795D52 #797152 #6E7952
triadic
#797152 #527971 #715279
tetradic
#797152 #52795D #525A79 #79526E
square
#797152 #52795D #525A79 #79526E
split-complementary
#797152 #526E79 #5D5279
monochromatic
#302D21 #554F39 #797152 #9C926C #B4AD91

Accessibility & contrast

On white

4.89
#797152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#797152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797152
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797152#FFFFFF#000000##FFFFFF
##7971521.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F50
Deuteranopia (green-blind)
#7A7253
Tritanopia (blue-blind)
#7F6C69
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797152;
/* rgb */ color: rgb(121, 113, 82);
/* oklch */ color: oklch(54.8% 0.046 95.4);
Tailwind
colors: {
  custom: {
    50: '#a09983',
    500: '#797152',
    950: '#000000',
  },
}
SCSS
$custom: #797152;
$custom-light: #a09983;
$custom-dark: #000000;
JSON
{
  "hex": "#797152",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 82
  },
  "hsl": {
    "h": 47.692,
    "s": 19.212,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5476,
    "c": 0.04628,
    "h": 95.4
  },
  "luminance": 0.16484
}

Semantic roles & 50–950 ramp

primary
#797152
secondary
#858BA2
accent
#7CBC6C
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #797152

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

Preview Lab → · Contrast checker → · Palette generator →

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