#797449#797449

#797449 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.3% C 0.061 H 102.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#797449
RGBrgb(121, 116, 73)
HSLhsl(54, 25%, 38%)
HSVhsv(54, 40%, 47%)
CMYKcmyk(0%, 4.1%, 39.7%, 52.5%)
CIE-LABlab(48.31, -5.00, 24.46)
CIE-LCHlch(48.31, 24.96, 101.54°)
OKLaboklab(55.26% -0.0133 0.06)
OKLCHoklch(55.26% 0.061 102.5)
XYZxyz(15.3334, 17.0372, 8.7828)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797449 #494E79
analogous
#795C49 #797449 #667949
triadic
#797449 #497974 #744979
tetradic
#797449 #49795C #494E79 #794966
square
#797449 #49795C #494E79 #794966
split-complementary
#797449 #496679 #5C4979
monochromatic
#2D2B1B #534F32 #797449 #9F9960 #B6B186

Accessibility & contrast

On white

4.76
#797449 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#797449 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797449
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797449#FFFFFF#000000##FFFFFF
##7974491.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797449;
/* rgb */ color: rgb(121, 116, 73);
/* oklch */ color: oklch(55.3% 0.061 102.5);
Tailwind
colors: {
  custom: {
    50: '#a09b7c',
    500: '#797449',
    950: '#000000',
  },
}
SCSS
$custom: #797449;
$custom-light: #a09b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#797449",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 73
  },
  "hsl": {
    "h": 53.75,
    "s": 24.742,
    "l": 38.039
  },
  "oklch": {
    "l": 0.55263,
    "c": 0.06147,
    "h": 102.5
  },
  "luminance": 0.17037
}

Semantic roles & 50–950 ramp

primary
#797449
secondary
#7B80A2
accent
#70C167
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #797449

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

Preview Lab → · Contrast checker → · Palette generator →

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