#797154#797154

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

Color values

HEX#797154
RGBrgb(121, 113, 84)
HSLhsl(47, 18%, 40%)
HSVhsv(47, 31%, 47%)
CMYKcmyk(0%, 6.6%, 30.6%, 52.5%)
CIE-LABlab(47.64, -1.80, 17.26)
CIE-LCHlch(47.64, 17.35, 95.96°)
OKLaboklab(54.81% -0.0034 0.0435)
OKLCHoklch(54.81% 0.044 94.5)
XYZxyz(15.3906, 16.5157, 10.7629)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797154 #545C79
analogous
#795E54 #797154 #6E7954
triadic
#797154 #547971 #715479
tetradic
#797154 #54795E #545C79 #79546E
square
#797154 #54795E #545C79 #79546E
split-complementary
#797154 #546E79 #5E5479
monochromatic
#312E22 #554F3B #797154 #9B926F #B4AD93

Accessibility & contrast

On white

4.88
#797154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #797154
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797154#FFFFFF#000000##FFFFFF
##7971541.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777052
Deuteranopia (green-blind)
#797255
Tritanopia (blue-blind)
#7F6D69
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797154;
/* rgb */ color: rgb(121, 113, 84);
/* oklch */ color: oklch(54.8% 0.044 94.5);
Tailwind
colors: {
  custom: {
    50: '#a09984',
    500: '#797154',
    950: '#000000',
  },
}
SCSS
$custom: #797154;
$custom-light: #a09984;
$custom-dark: #000000;
JSON
{
  "hex": "#797154",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 84
  },
  "hsl": {
    "h": 47.027,
    "s": 18.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54805,
    "c": 0.04359,
    "h": 94.5
  },
  "luminance": 0.16515
}

Semantic roles & 50–950 ramp

primary
#797154
secondary
#878DA2
accent
#7EBB6D
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0B
muted
#7E7E7C

Preview Lab

Preview with #797154

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

Preview Lab → · Contrast checker → · Palette generator →

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