#797254#797254

#797254 is a mid, muted yellow. Relative luminance 0.167; OKLCH L 55.0% C 0.045 H 96.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#797254
RGBrgb(121, 114, 84)
HSLhsl(49, 18%, 40%)
HSVhsv(49, 31%, 47%)
CMYKcmyk(0%, 5.8%, 30.6%, 52.5%)
CIE-LABlab(47.93, -2.38, 17.64)
CIE-LCHlch(47.93, 17.80, 97.67°)
OKLaboklab(55.03% -0.0051 0.0444)
OKLCHoklch(55.03% 0.045 96.5)
XYZxyz(15.5028, 16.7400, 10.8003)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797254 #545B79
analogous
#795F54 #797254 #6D7954
triadic
#797254 #547972 #725479
tetradic
#797254 #54795F #545B79 #79546D
square
#797254 #54795F #545B79 #79546D
split-complementary
#797254 #546D79 #5F5479
monochromatic
#312E22 #55503B #797254 #9B936F #B4AE93

Accessibility & contrast

On white

4.83
#797254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#797254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797254
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797254#FFFFFF#000000##FFFFFF
##7972541.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797254;
/* rgb */ color: rgb(121, 114, 84);
/* oklch */ color: oklch(55.0% 0.045 96.5);
Tailwind
colors: {
  custom: {
    50: '#a09a84',
    500: '#797254',
    950: '#000000',
  },
}
SCSS
$custom: #797254;
$custom-light: #a09a84;
$custom-dark: #000000;
JSON
{
  "hex": "#797254",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 84
  },
  "hsl": {
    "h": 48.649,
    "s": 18.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55031,
    "c": 0.04468,
    "h": 96.5
  },
  "luminance": 0.1674
}

Semantic roles & 50–950 ramp

primary
#797254
secondary
#878CA2
accent
#7CBB6D
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0B
muted
#7E7E7C

Preview Lab

Preview with #797254

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

Preview Lab → · Contrast checker → · Palette generator →

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