#797446#797446

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

Color values

HEX#797446
RGBrgb(121, 116, 70)
HSLhsl(54, 27%, 37%)
HSVhsv(54, 42%, 47%)
CMYKcmyk(0%, 4.1%, 42.1%, 52.5%)
CIE-LABlab(48.26, -5.36, 26.09)
CIE-LCHlch(48.26, 26.63, 101.61°)
OKLaboklab(55.21% -0.0146 0.0636)
OKLCHoklch(55.21% 0.065 102.9)
XYZxyz(15.2363, 16.9983, 8.2716)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797446 #464B79
analogous
#795B46 #797446 #647946
triadic
#797446 #467974 #744679
tetradic
#797446 #46795B #464B79 #794664
square
#797446 #46795B #464B79 #794664
split-complementary
#797446 #466479 #5B4679
monochromatic
#2B2A19 #524F30 #797446 #A0995C #B7B282

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797446#FFFFFF#000000##FFFFFF
##7974461.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)
#7C7142
Deuteranopia (green-blind)
#7D7448
Tritanopia (blue-blind)
#806E69
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797446;
/* rgb */ color: rgb(121, 116, 70);
/* oklch */ color: oklch(55.2% 0.065 102.9);
Tailwind
colors: {
  custom: {
    50: '#a19b7a',
    500: '#797446',
    950: '#000000',
  },
}
SCSS
$custom: #797446;
$custom-light: #a19b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#797446",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 70
  },
  "hsl": {
    "h": 54.118,
    "s": 26.702,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55208,
    "c": 0.06523,
    "h": 102.9
  },
  "luminance": 0.16998
}

Semantic roles & 50–950 ramp

primary
#797446
secondary
#787CA3
accent
#6EC365
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #797446

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

Preview Lab → · Contrast checker → · Palette generator →

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