#797451#797451

#797451 is a mid, muted yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.051 H 101.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#797451
RGBrgb(121, 116, 81)
HSLhsl(53, 20%, 40%)
HSVhsv(53, 33%, 47%)
CMYKcmyk(0%, 4.1%, 33.1%, 52.5%)
CIE-LABlab(48.45, -3.95, 20.08)
CIE-LCHlch(48.45, 20.46, 101.12°)
OKLaboklab(55.42% -0.0097 0.0501)
OKLCHoklch(55.42% 0.051 101)
XYZxyz(15.6159, 17.1502, 10.2707)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797451 #515679
analogous
#796051 #797451 #6A7951
triadic
#797451 #517974 #745179
tetradic
#797451 #517960 #515679 #79516A
square
#797451 #517960 #515679 #79516A
split-complementary
#797451 #516A79 #605179
monochromatic
#302E20 #545138 #797451 #9C966B #B5B090

Accessibility & contrast

On white

4.74
#797451 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#797451 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797451
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797451#FFFFFF#000000##FFFFFF
##7974511.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A724F
Deuteranopia (green-blind)
#7C7452
Tritanopia (blue-blind)
#7F6F6B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797451;
/* rgb */ color: rgb(121, 116, 81);
/* oklch */ color: oklch(55.4% 0.051 101.0);
Tailwind
colors: {
  custom: {
    50: '#a09b82',
    500: '#797451',
    950: '#000000',
  },
}
SCSS
$custom: #797451;
$custom-light: #a09b82;
$custom-dark: #000000;
JSON
{
  "hex": "#797451",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 81
  },
  "hsl": {
    "h": 52.5,
    "s": 19.802,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55421,
    "c": 0.05104,
    "h": 101
  },
  "luminance": 0.1715
}

Semantic roles & 50–950 ramp

primary
#797451
secondary
#8488A2
accent
#76BC6B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E0A
muted
#7E7E7C

Preview Lab

Preview with #797451

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

Preview Lab → · Contrast checker → · Palette generator →

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