#797255#797255

#797255 is a mid, muted yellow. Relative luminance 0.168; OKLCH L 55.1% C 0.043 H 96.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#797255
RGBrgb(121, 114, 85)
HSLhsl(48, 17%, 40%)
HSVhsv(48, 30%, 47%)
CMYKcmyk(0%, 5.8%, 29.8%, 52.5%)
CIE-LABlab(47.95, -2.23, 17.09)
CIE-LCHlch(47.95, 17.23, 97.44°)
OKLaboklab(55.05% -0.0046 0.0431)
OKLCHoklch(55.05% 0.043 96.1)
XYZxyz(15.5423, 16.7558, 11.0080)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797255 #555C79
analogous
#796055 #797255 #6E7955
triadic
#797255 #557972 #725579
tetradic
#797255 #557960 #555C79 #79556E
square
#797255 #557960 #555C79 #79556E
split-complementary
#797255 #556E79 #605579
monochromatic
#312E22 #55503C #797255 #9B9370 #B4AE94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797255#FFFFFF#000000##FFFFFF
##7972551.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)
#787053
Deuteranopia (green-blind)
#7A7356
Tritanopia (blue-blind)
#7F6E6A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797255;
/* rgb */ color: rgb(121, 114, 85);
/* oklch */ color: oklch(55.1% 0.043 96.1);
Tailwind
colors: {
  custom: {
    50: '#a09a85',
    500: '#797255',
    950: '#000000',
  },
}
SCSS
$custom: #797255;
$custom-light: #a09a85;
$custom-dark: #000000;
JSON
{
  "hex": "#797255",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 85
  },
  "hsl": {
    "h": 48.333,
    "s": 17.476,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55054,
    "c": 0.04333,
    "h": 96.1
  },
  "luminance": 0.16755
}

Semantic roles & 50–950 ramp

primary
#797255
secondary
#888DA2
accent
#7DBA6E
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0B
muted
#7E7E7C

Preview Lab

Preview with #797255

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

Preview Lab → · Contrast checker → · Palette generator →

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