#797C48#797C48

#797C48 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.1% C 0.073 H 111.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#797C48
RGBrgb(121, 124, 72)
HSLhsl(63, 27%, 38%)
HSVhsv(63, 42%, 49%)
CMYKcmyk(2.4%, 0%, 41.9%, 51.4%)
CIE-LABlab(50.63, -9.60, 27.98)
CIE-LCHlch(50.63, 29.58, 108.95°)
OKLaboklab(57.1% -0.0266 0.068)
OKLCHoklch(57.1% 0.073 111.3)
XYZxyz(16.2627, 18.9484, 8.9303)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C48 #4B487C
analogous
#7C6548 #797C48 #5F7C48
triadic
#797C48 #48797C #7C4879
tetradic
#797C48 #487C65 #4B487C #7C485F
square
#797C48 #487C65 #4B487C #7C485F
split-complementary
#797C48 #485F7C #65487C
monochromatic
#2D2F1B #535532 #797C48 #9EA25F #B6B986

Accessibility & contrast

On white

4.38
#797C48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#797C48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C48
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C48#FFFFFF#000000##000000
##797C481.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837844
Deuteranopia (green-blind)
#84794A
Tritanopia (blue-blind)
#7F766F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797c48;
/* rgb */ color: rgb(121, 124, 72);
/* oklch */ color: oklch(57.1% 0.073 111.3);
Tailwind
colors: {
  custom: {
    50: '#a1a17c',
    500: '#797c48',
    950: '#000000',
  },
}
SCSS
$custom: #797c48;
$custom-light: #a1a17c;
$custom-dark: #000000;
JSON
{
  "hex": "#797c48",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 72
  },
  "hsl": {
    "h": 63.462,
    "s": 26.531,
    "l": 38.431
  },
  "oklch": {
    "l": 0.571,
    "c": 0.073,
    "h": 111.3
  },
  "luminance": 0.18948
}

Semantic roles & 50–950 ramp

primary
#797C48
secondary
#7E7BA5
accent
#65C36A
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0F09
muted
#7F7E7B

Preview Lab

Preview with #797C48

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

Preview Lab → · Contrast checker → · Palette generator →

#797C48 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva