#797047#797047

#797047 is a mid, muted yellow. Relative luminance 0.161; OKLCH L 54.3% C 0.059 H 97.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#797047
RGBrgb(121, 112, 71)
HSLhsl(49, 26%, 38%)
HSVhsv(49, 41%, 47%)
CMYKcmyk(0%, 7.4%, 41.3%, 52.5%)
CIE-LABlab(47.12, -2.96, 24.06)
CIE-LCHlch(47.12, 24.24, 97.01°)
OKLaboklab(54.31% -0.0076 0.059)
OKLCHoklch(54.31% 0.059 97.3)
XYZxyz(14.8170, 16.1087, 8.2888)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797047 #475079
analogous
#795747 #797047 #697947
triadic
#797047 #477970 #704779
tetradic
#797047 #477957 #475079 #794769
square
#797047 #477957 #475079 #794769
split-complementary
#797047 #476979 #574779
monochromatic
#2C291A #524C30 #797047 #A0945E #B7AE84

Accessibility & contrast

On white

4.97
#797047 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#797047 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797047
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797047#FFFFFF#000000##FFFFFF
##7970471.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E44
Deuteranopia (green-blind)
#7A7149
Tritanopia (blue-blind)
#806A66
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #797047;
/* rgb */ color: rgb(121, 112, 71);
/* oklch */ color: oklch(54.3% 0.059 97.3);
Tailwind
colors: {
  custom: {
    50: '#a1987b',
    500: '#797047',
    950: '#000000',
  },
}
SCSS
$custom: #797047;
$custom-light: #a1987b;
$custom-dark: #000000;
JSON
{
  "hex": "#797047",
  "rgb": {
    "r": 121,
    "g": 112,
    "b": 71
  },
  "hsl": {
    "h": 49.2,
    "s": 26.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5431,
    "c": 0.05948,
    "h": 97.3
  },
  "luminance": 0.16108
}

Semantic roles & 50–950 ramp

primary
#797047
secondary
#7981A3
accent
#76C265
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0D09
muted
#7F7E7B

Preview Lab

Preview with #797047

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

Preview Lab → · Contrast checker → · Palette generator →

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