#797447#797447

#797447 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.2% C 0.064 H 102.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#797447
RGBrgb(121, 116, 71)
HSLhsl(54, 26%, 38%)
HSVhsv(54, 41%, 47%)
CMYKcmyk(0%, 4.1%, 41.3%, 52.5%)
CIE-LABlab(48.27, -5.24, 25.54)
CIE-LCHlch(48.27, 26.08, 101.60°)
OKLaboklab(55.23% -0.0141 0.0624)
OKLCHoklch(55.23% 0.064 102.8)
XYZxyz(15.2681, 17.0111, 8.4392)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797447 #474C79
analogous
#795B47 #797447 #657947
triadic
#797447 #477974 #744779
tetradic
#797447 #47795B #474C79 #794765
square
#797447 #47795B #474C79 #794765
split-complementary
#797447 #476579 #5B4779
monochromatic
#2C2A1A #524F30 #797447 #A0995E #B7B284

Accessibility & contrast

On white

4.77
#797447 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#797447 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797447
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797447#FFFFFF#000000##FFFFFF
##7974471.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7144
Deuteranopia (green-blind)
#7D7449
Tritanopia (blue-blind)
#806E69
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797447;
/* rgb */ color: rgb(121, 116, 71);
/* oklch */ color: oklch(55.2% 0.064 102.8);
Tailwind
colors: {
  custom: {
    50: '#a19b7b',
    500: '#797447',
    950: '#000000',
  },
}
SCSS
$custom: #797447;
$custom-light: #a19b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#797447",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 71
  },
  "hsl": {
    "h": 54,
    "s": 26.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.55226,
    "c": 0.06398,
    "h": 102.8
  },
  "luminance": 0.17011
}

Semantic roles & 50–950 ramp

primary
#797447
secondary
#797DA3
accent
#6FC265
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #797447

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

Preview Lab → · Contrast checker → · Palette generator →

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