#797149#797149

#797149 is a mid, muted yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.058 H 98.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#797149
RGBrgb(121, 113, 73)
HSLhsl(50, 25%, 38%)
HSVhsv(50, 40%, 47%)
CMYKcmyk(0%, 6.6%, 39.7%, 52.5%)
CIE-LABlab(47.44, -3.28, 23.34)
CIE-LCHlch(47.44, 23.57, 98.01°)
OKLaboklab(54.58% -0.0083 0.0574)
OKLCHoklch(54.58% 0.058 98.3)
XYZxyz(14.9932, 16.3567, 8.6694)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797149 #495179
analogous
#795949 #797149 #697949
triadic
#797149 #497971 #714979
tetradic
#797149 #497959 #495179 #794969
square
#797149 #497959 #495179 #794969
split-complementary
#797149 #496979 #594979
monochromatic
#2D2A1B #534D32 #797149 #9F9560 #B6AE86

Accessibility & contrast

On white

4.92
#797149 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#797149 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797149
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797149#FFFFFF#000000##FFFFFF
##7971491.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F46
Deuteranopia (green-blind)
#7B724A
Tritanopia (blue-blind)
#806C67
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #797149;
/* rgb */ color: rgb(121, 113, 73);
/* oklch */ color: oklch(54.6% 0.058 98.3);
Tailwind
colors: {
  custom: {
    50: '#a0997c',
    500: '#797149',
    950: '#000000',
  },
}
SCSS
$custom: #797149;
$custom-light: #a0997c;
$custom-dark: #000000;
JSON
{
  "hex": "#797149",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 73
  },
  "hsl": {
    "h": 50,
    "s": 24.742,
    "l": 38.039
  },
  "oklch": {
    "l": 0.54576,
    "c": 0.05803,
    "h": 98.3
  },
  "luminance": 0.16356
}

Semantic roles & 50–950 ramp

primary
#797149
secondary
#7B82A2
accent
#76C167
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #797149

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

Preview Lab → · Contrast checker → · Palette generator →

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